Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List WMI NameSpace ConnectServerContent of List WMI NameSpace ConnectServer.ps1MD5 Hash: 1C497394E9C6B0302F9BD94B808A987D |
||
$strComputer = "."
$wmiNS = "root" $objLocator = New-Object -comobject "WbemScripting.SWbemLocator" $objWMIService = $objLocator.connectServer($strComputer, $wmiNS) $colItems = $objWMIService.InstancesOF("__NameSpace") foreach ($i in $colitems) { foreach ($b in $i.path_) { Write-Host $b.path } } | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |