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).

Related Post

Resolving Failover Cluster error message: A weak e... If you have built a couple of servers running Windows Server 2012 and when you are managing your Failover Cluster you are receiving the following mess...
Cluster Shared Volumes (CSV) errors on Hyper-V Clu... In a failover cluster, virtual machines can use Cluster Shared Volumes that are on the same LUN (disk), while still being able to fail over (or move f...
Backing up Hyper-V and virtual machines using Wind... Previous versions of Hyper-V (like 2008, 2008 R2 and 2008 R2 SP1) had complications and incompatibilities with the built-in backup tool, forcing the a...
Using PowerShell to remove files older than X days In this Tutorial we are going to use PowerShell to remove files based on their last time written. Solution The first step is to find a folder where...