/build/static/layout/Breadcrumb_cap_w.png

Create custom inventory field to display memory speed on a PC

Is there a script available


0 Comments   [ + ] Show comments

Answers (1)

Answer Summary:
Posted by: jknox 11 years ago
Red Belt
4

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
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ