Win32_OperatingSystem

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.
 
Joined
Apr 17, 2009
Messages
8
Reaction score
0
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top