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

Anderson Patricio is a Canadian MVP in Cloud and Datacenter Management, and Office Server and Services, besides the Microsoft Award he also holds a Solutions Master (MCSM) in Exchange and several other certifications. Anderson has been contributing to the Microsoft Community with articles, tutorials, blog posts, twitter, forums and book reviews. He is a regular contributor here at,, and Anderson (Portuguese).