Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List All WMI NamespacesContent of List All WMI Namespaces.vbsMD5 Hash: 59D961B3FC6706A2552C13360F20F393 |
||
' Description: Lists all WMI namespace on a computer.
strComputer = "." Call EnumNameSpaces("root") Sub EnumNameSpaces(strNameSpace) WScript.Echo strNameSpace Set objWMIService=GetObject _ ("winmgmts:{impersonationLevel=impersonate}\\" & _ strComputer & "\" & strNameSpace) Set colNameSpaces = objWMIService.InstancesOf("__NAMESPACE") For Each objNameSpace In colNameSpaces Call EnumNameSpaces(strNameSpace & "\" & objNameSpace.Name) Next End Sub | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |