Query WMI for Serial Number

Certain people who sit next to me are really bad at updating inventory.  Yes, yes, I have ConfigMgr and I can run reports to get what I’m looking for.  But I’d like to take a moment to both blame said #lame co-worker and also show off a bit.  So, if you’re looking for the serial number for a computer on your network then here’s what you do:

In PowerShell:

gwmi -computername chn-353 -class win32_bios

ps

 

 

 

 

 

 

 

In cmd prompt:
wmic /user:acadmin /node:’ch-1095′ bios get serialnumber

cmd

Of course, this way requires you to enter a password, but still works just fine.

 

 

Comments are closed.