How to find out the serial number of a proliant server

In 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
Next

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 *