How to find out the serial number of a proliant server

Hello, this is Lars. IT Engineer. Certified (and enthusiastic) webmaster. Also an enthusiastic Windows, Apple, and Office user. I write about all kinds of topics around IT. Living in Switzerland. You can find out more about me here: About me. Thanks for your visit!

serverIn this article I show you how to find out the serial number of a HP Proliant server.

Unfortunately it is not so easy to get the serial number of an HP Proliant server. In the system management homepage it difficult to find.

HP has published a small script. It works quite well.

Simply save the following script as “serialnumber.vbs” and execute it.

strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colBIOS = objWMIService.ExecQuery _
    ("Select * from Win32_BIOS")
For each objBIOS in colBIOS
    Wscript.Echo "Manufacturer: " & objBIOS.Manufacturer
    Wscript.Echo "Serial Number: " & objBIOS.SerialNumber

The script should also work with other manufacturers, since it uses standard functions.

Did you like the article? Then I'm happy if you like and share it.
Thank you!

Leave a Reply

Your email address will not be published. Required fields are marked *