![]() Loading |
| VBScript |
| JavaScript |
| Powershell |
Search Options: List All the WMI cimV2 Classes
|
||
|
' Description: Returns a list of all the WMI classes found in the cimv2 namespace.
strComputer = "." Set objWMIService=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _ strComputer & "\root\cimv2") For Each objclass in objWMIService.SubclassesOf() Wscript.Echo objClass.Path_.Class Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: | ||