Scripts Thread, Auditing the amount of RAM in Coding and Web Development; Was just curious how you would go abouts doing a script that outputs something like so :
Total of 4 ...
31st January 2008, 02:09 PM #1
Auditing the amount of RAM
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.
IDG Tech News
31st January 2008, 02:11 PM #2
I just use Belarc !!
[ Yes i know its cheating.... ]
31st January 2008, 02:16 PM #3
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.
31st January 2008, 02:18 PM #4
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.
31st January 2008, 02:30 PM #5
Microsoft has a tool which can generate WMI queries, perhaps that'll help.
31st January 2008, 02:54 PM #6
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?
31st January 2008, 03:02 PM #7
which website are you looking on ? Also this is so I can establish how it is done.
Originally Posted by MyDejaVu
31st January 2008, 03:18 PM #8
I have OCSNG running on our network and this is one of the things it logs.
31st January 2008, 03:36 PM #9
i was referring to Belarc software, it is free, but not to use in an educational environmnet...
31st January 2008, 03:39 PM #10
what is OCSNG ? Any site for them ?
Originally Posted by localzuk
31st January 2008, 03:41 PM #11
Google says: http://www.ocsinventory-ng.org/
Originally Posted by gecko
Thanks to Jona from:
localzuk (31st January 2008)
31st January 2008, 03:43 PM #12
Whoops - is it?! Never mind.
Originally Posted by MyDejaVu
31st January 2008, 04:12 PM #13
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.
31st January 2008, 05:42 PM #14
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:
<ManagedObject Name="WMI: Memory Sticks" Query="select Capacity from Win32_PhysicalMemory" />
By ICTNUT in forum How do you do....it?
Last Post: 28th November 2012, 03:21 AM
By Jonny_sims in forum How do you do....it?
Last Post: 10th January 2008, 01:15 PM
By david12345 in forum Hardware
Last Post: 19th July 2007, 12:04 PM
By pickman in forum Windows
Last Post: 23rd February 2007, 01:26 PM
By nick in forum Wireless Networks
Last Post: 15th March 2006, 02:43 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)