Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List the Default WMI NamespaceContent of List the Default WMI Namespace.vbsMD5 Hash: 895E46CFA4FBDA51414A806F1E7437BA |
||
' Description: Retrieves and displays the current WMI "Default namespace for scripting" setting.
strComputer = "." Set objWMIService=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _ strComputer & "\root\cimv2") Set colWMISettings = objWMIService.InstancesOf("Win32_WMISetting") For Each objWMISetting in colWMISettings Wscript.Echo "Default namespace for scripting: " & _ objWMISetting.ASPScriptDefaultNamespace Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |