mac_shinobi Posted January 31, 2008 Posted January 31, 2008 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
mattx Posted January 31, 2008 Posted January 31, 2008 I just use Belarc !! http://www.belarc.com/free_download.html [ Yes i know its cheating.... ]
tech_guy Posted January 31, 2008 Posted January 31, 2008 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.
mac_shinobi Posted January 31, 2008 Author Posted January 31, 2008 I know about belarc, SIW and everest ( home and ultimate edition ) But was just wondering how to do this in vbscript with regards to the memory.
bizzel Posted January 31, 2008 Posted January 31, 2008 Microsoft has a tool which can generate WMI queries, perhaps that'll help. http://www.microsoft.com/downloads/details.aspx?FamilyID=2cc30a64-ea15-4661-8da4-55bbc145c30e&displaylang=en
MyDejaVu Posted January 31, 2008 Posted January 31, 2008 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?
mac_shinobi Posted January 31, 2008 Author Posted January 31, 2008 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.
localzuk Posted January 31, 2008 Posted January 31, 2008 I have OCSNG running on our network and this is one of the things it logs.
MyDejaVu Posted January 31, 2008 Posted January 31, 2008 i was referring to Belarc software, it is free, but not to use in an educational environmnet...
mac_shinobi Posted January 31, 2008 Author Posted January 31, 2008 I have OCSNG running on our network and this is one of the things it logs. what is OCSNG ? Any site for them ?
Jona Posted January 31, 2008 Posted January 31, 2008 what is OCSNG ? Any site for them ? Google says: http://www.ocsinventory-ng.org/ 1
tech_guy Posted January 31, 2008 Posted January 31, 2008 i was referring to Belarc software, it is free, but not to use in an educational environmnet... Whoops - is it?! Never mind.
srochford Posted January 31, 2008 Posted January 31, 2008 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.
sahmeepee Posted January 31, 2008 Posted January 31, 2008 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now