Pages

Showing posts with label get license number of operating system. Show all posts
Showing posts with label get license number of operating system. Show all posts

Friday, 15 June 2012

Get Serial Number of Operating system Installed - VBScript


Set SNSet = GetObject("winmgmts:").InstancesOf ("win32_OperatingSystem")


for each SN in SNSet
MsgBox "The serial number for the installed OS is: " & SN.SerialNumber
Next