How to remotely get computer cpu and memory usage?

Solution 1:

wmic /node:HOSTNAME cpu get loadpercentage

This will give you the CPU load for a remote system.

wmic /node:HOSTNAME OS get FreePhysicalMemory

This will give you free memory for a remote system.