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

2 thoughts on “Getting a Servers Serial Number (Remotely)

  1. Hi
    i would just like to point out that the command you mentioned is good for getting the serial number of a server locally and not remotely.
    if i would like to use your command to get a serial number of a remote server i will need to RDP into it first.

    its much easier to actually get the serial number remotely straight from a local powershell window:

    get-ciminstance -classname win32_bios -computername servername | format-list serialnumber

Leave a Reply

Your email address will not be published. Required fields are marked *