• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1581
  • Last Modified:

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?
0
portillosjohn
Asked:
portillosjohn
2 Solutions
 
Steven CarnahanNetwork ManagerCommented:
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
 
athomsfereCommented:
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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now