Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1548
  • 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
 
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
 
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
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
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

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

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