Create custom inventory field to display memory speed on a PC
Is there a script available
0 Comments
[ + ] Show comments
Answers (1)
Answer Summary:
Please log in to answer
Posted by:
jknox
11 years ago
Assuming you are talking about a K1000, there's not a built-in script, but you can use a custom inventory rule to get that information (assuming Windows):
ShellCommandTextReturn(wmic memorychip get speed)
Comments:
-
you beat me to it - SMal.tmcc 11 years ago
-
Out of habit I use the full path in the wmic name when I create rules using that
ShellCommandTextReturn(c:\windows\system32\wbem\WMIC.exe memorychip get speed) - SMal.tmcc 11 years ago
-
That worked great thank you!, Is there a command for a full ram desc? - mmaiorano25 11 years ago
-
There are other options you can use. Type this in a command prompt: wmic memorychip get /?
You can use multiples like this: wmic memorychip get capacity,serialnumber,speed
This is a pretty good breakdown for wmic usage: http://ss64.com/nt/wmic.html - jknox 11 years ago
-
Thanks. Have you ever tried with a VB script? There seems to be more rich descriptions. The wmic commands do not seem to list the type i.e ddr3 etc - mmaiorano25 11 years ago
-
If I recall correctly, VB script would have to output to a file, then you could use a custom inventory rule and "find" to parse the file. - jknox 11 years ago