Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List All Abstract Classes in WMIContent of List All Abstract Classes in WMI.vbsMD5 Hash: B46C8A145CED7FC123FD872B59D3F189 |
||
' Description: Lists all WMI Abstract classes defined in the root\cimv2 namespace.
strComputer = "." Set objWMIService=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _ strComputer & "\root\cimv2") Set colClasses = objWMIService.SubclassesOf() For Each objClass in colClasses For Each objClassQualifier In objClass.Qualifiers_ If LCase(objClassQualifier.Name) = "abstract" Then WScript.Echo objClass.Path_.Class & ": " & _ objClassQualifier.Name & "=" & _ objClassQualifier.Value End If Next Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |