Link to home
Start Free TrialLog in
Avatar of andybrooke
andybrooke

asked on

How much RAM Domain computers have?

Hi,

have a lot of windows xp mahcines in a domain how can I quickly find our how much memory each one has? Without going to each machin manually...?

Thanks
Avatar of -tjs
-tjs
Flag of United States of America image

For querying remote Wnidows XP machines (for later OSes you will have to change a security item to allow this to work remotely):

Put a list of XP machine names in a text file, one machine per line (we'll call this myPCs.txt)

From a command prompt logged in with an account that has administrative privileges on the PCs:
for /f %x in (myPCs.txt) do wmic /node:%x computersystem get totalphysicalmemory,caption
Avatar of andybrooke
andybrooke

ASKER

sorry that command doesnt seem to work says /f is not recongnised as a command
looks like you left "for" off the beginning of the command line.  the actual command is "for" where "/f" is just an option to look in a file.
Retrieve and Save Hardware Information

Or
List Physical Memory Properties

Both work well or there are a few other scripts that will do similar in the MS script repo.
ASKER CERTIFIED SOLUTION
Avatar of mrhamen
mrhamen

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Danny Child
I asked a similar Q a long time ago here, and got a great answer, and still use the script as suggested.

https://www.experts-exchange.com/questions/21523337/Script-to-capture-or-inventory-amount-of-RAM-WMI.html

- Check it out... Danny