Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List All the WMI cimV2 ClassesContent of List All the WMI cimV2 Classes.vbsMD5 Hash: 2E3B75F1282F8E4013BE7D8F03C94296 |
||
' 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 :: |