Dim SystemSet, System, strOSName
Set SystemSet = GetObject("winmgmts:").InstancesOf ("Win32_OperatingSystem")
For Each System in SystemSet
strOSName = System.Caption
Next
WScript.Echo strOSName
Title:
VBS - Check is windows XP
Description:
Dim SystemSet, System, strOSName Set SystemSet = GetObject("winmgmts:").InstancesOf ("Win32_OperatingSystem") For Each S...
...
Rating:
4