Get a Server Serial Number

How does one get the serial number of a windows 2003 server. I have about 40 of them at remote sites of all different makes and models and I need the serial numbers from them. Is there a command line or script that I can use to get it?
portillosjohnAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
athomsfereConnect With a Mentor Commented:
command line,

wmic bios get serialnumber

Open in new window


You can also use WMI in Powershell to easily get all sorts of data.

$WMIResMod = (Get-WmiObject -ComputerName $PC win32_ComputerSystem).Model

Open in new window

would get the model, you can change the NameSpace to the WMI BIOS namespace and then use it to get the serialnumber too.
0
 
pony10usCommented:
HP put out some code that works with any windows based system:  http://h41111.www4.hp.com/hps/carepack/emea_middle_east/en/getserial.html
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
portillosjohnAuthor Commented:
athomsfere, when I run those scripts it returns "serialnumber" with nothing else. Is there something else I can try?
0
 
athomsfereCommented:
Your servers must not have the serialnumber populated in the bios. So WMI / WMIC cannot pick it up.
0
 
portillosjohnAuthor Commented:
It there any other way to get it?
0
 
athomsfereCommented:
Is this for warranty work?

Is this the only information you can use or need?
0
 
portillosjohnAuthor Commented:
I took over IT operations for another person and we are trying to find out where the servers are at according to the books.
0
 
athomsfereCommented:
What information do you have? Can you post a sample of other things we can try to report against?

Is there any information in AD? Perhaps description has location info?>
0
 
portillosjohnAuthor Commented:
It looks like it is not stored in the bios so I am unable to get it.
0
All Courses

From novice to tech pro — start learning today.