Jump to content

Recommended Posts

Posted

Was just curious how you would go abouts doing a script that outputs something like so :

 

Total of 4 memory slots

 

Slot 1 - 512 Mb Kingston PC3200 DDR

Slot 2 - Empty

Slot 3 - 512 Mb Kingston PC3200 DDR

Slot 4 - Empty

 

I know you use WMI and the Win32_ComputerSystem class but am not sure how to do it to something similiar above so it tells you how much ram is in each memory slot and what type , make, model of ram etc.

 

Thanks

Posted
Me too. Belarc's a great little utility. We run it on all PCs - mainly so we can record what the config is of each PC and what apps are installed. It's handy because it also shows the licence/product keys.
Posted

just checking on that website

 

"License: The license associated with this product allows for free personal use only. Use on multiple PCs in a corporate, educational, military or government installation is prohibited. See the license agreement for details. "

 

 

what do you use it for?

Posted
just checking on that website

 

"License: The license associated with this product allows for free personal use only. Use on multiple PCs in a corporate, educational, military or government installation is prohibited. See the license agreement for details. "

 

 

what do you use it for?

 

which website are you looking on ? Also this is so I can establish how it is done.

Posted

Scriptomatic (see Bizzel's link) can get the basic info (use the Win32_PhysicalMemory class).

 

Not sure if it will give you manufacturer and speed (I don't collect them; only the number and size)

 

We push this into a SQL database so we can see what's where.

Posted

You can also use GPInventory from Microsoft. Yes it's a GUI and you want it scripted, but someone might find it useful :) GPinventory's range of queries can be extended by adding more WMI classes/queries into xml settings files.

 

Here's my xml file for physical memory:

 

 
   
 
 
   
     LDAP://myldappath,getyourown!
     OneLevel
   
 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...