How to retrieve serial number from a server using WMI

Share this:

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.


Written by Anderson Patricio

Anderson Patricio is a Canadian Exchange Server MVP and MCSM (Solutions Master) and he contributes to the Microsoft Community with articles, tutorials, blog posts, forums and book reviews. He is a regular contributor at, and (Portuguese).