Win32_OperatingSystem: Values for Caption

  • Thread starter Thread starter JuliaJulia
  • Start date Start date
J

JuliaJulia

Hi

I'm looking for a definitive (or near to anyway) list of values for Caption
in the Win32_OperatingSystem class for all the MS operating systems (NT,
2000, XP, Vista, etc..)

Can anyone help?

Julia.
 
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")
Set colItems = objWMIService.ExecQuery( _
"SELECT * FROM Win32_OperatingSystem",,48)
For Each objItem in colItems
Wscript.Echo "Caption: " & objItem.Caption
Next
 
Back
Top