Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List All the WMI Methods for a ClassContent of List All the WMI Methods for a Class.vbsMD5 Hash: BF37FE370C70B64AE2DDE42FB9A14632 |
||
' Description: Lists the methods for a specified WMI class.
strComputer = "." strNameSpace = "root\cimv2" strClass = "Win32_Service" Set objClass = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _ strComputer & "\" & strNameSpace & ":" & strClass) WScript.Echo strClass & " Class Methods" WScript.Echo "---------------------------" For Each objClassMethod In objClass.Methods_ WScript.Echo objClassMethod.Name Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |