WMI would be perfect for this, but looking at the help files neither the @WMI function nor WMIQUERY command seem to support remote systems.
You could use the wmic.exe external program though. With the /node switch it will query a remote system. Here are some samples:
Code:
wmic /node:COMPUTER csproduct get name
wmic /node:COMPUTER bios get version
wmic /node:COMPUTER os get caption
wmic /node:COMPUTER cpu get name
wmic /node:COMPUTER memorychip get capacity
That last one actually shows the size of each memory module in your system. You'd have to total them manually. I'm not sure if there is a WMI query that returns one value representing total RAM. Seems like there would be, but the few minutes I looked I didn't find it.