VBscript to find Serial number of Server


Serial number is displayed on the Sticker on computers.

In case if you don't find them, copy the following script and save it as serialnumber.vbs and execute it.

Set objWMIservice = GetObject("winmgmts:\\.\root\cimv2")
Set colitems = objWMIservice.ExecQuery("Select * from Win32_BIOS")
For each objitem in colitems
Wscript.echo "Service Tag: " & objitem.serialnumber
Next



***Share your comments about this post***

No comments:

Post a Comment