Getting a Servers Serial Number (Remotely)

KB ID 0001493

Problem

If you have an iLO/iDRAC/EMM, then logging into these will give you the servers serial number, but what if they are not setup/connected, or you don’t know username or password?

Then you can use WMI to discover the serial number.

Solution

From PowerShell;

[box]

Get-Ciminstance -classname win32_bios -computername {Server-Name} | format-list serialnumber

[/box]

 

Or if you have RDP/Console access , then from an administrative command window, execute the following command;

[box]

wmic /node:%computername% bios get serialnumber

[/box]

Nice and simple!

Related Articles, References, Credits, or External Links

NA