How to retrieve serial number from a server using WMI

In some situations the administrator has to retrieve the serial number of a server to check warranty and etc. In this Tutorial we are going over the process to retrieve the serial number using wmic utility.


The easy solution is running the command below on any command-prompt or PowerShell session, and the output will be the manufacturer of your servers and the serial number.

wmic bios get Manufacturer,SerialNumber


The command above shows only a small subset of the information available, if you want to retrieve more information from the bios, you can always run the command below and a list of all attributes and their current value is going to be displayed.