Search code examples
serial-number

How do I obtain equipment serial numbers programmatically?


I need to run an equipment audit and to do that I need to obtain the Windows PC, monitor etc. serial numbers.

So I faced with going to each PC and manually writing down the numbers.

Is there a way I can get this programmatically so each user can run a small program and email me the results?


Solution

  • If this information is anywhere, it'd be in WMI (http://en.wikipedia.org/wiki/Windows_Management_Instrumentation) - you could write a VBscript script to query this information and save it to a remote share on a server for example.