Finding your HP Proliant serial number on a Windows machine

I used to collect the Proliant hardware serial numbers by using the Integrated LightsOut (ILO). Today I found a little vbs script on the HP website, which makes the task a bit easier and faster!

VBS script:

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

Thank you HP!