Showing posts with label
get serial number of operating system.
Show all posts
Showing posts with label
get serial number of operating system.
Show all posts
Set SNSet = GetObject("winmgmts:").InstancesOf ("win32_OperatingSystem")
for each SN in SNSet
MsgBox "The serial number for the installed OS is: " & SN.SerialNumber
Next