s4:torture: fix error reporting in the raw.oplock-brl3 test
[Samba/bb.git] / testprogs / win32 / wmi / echoprocessor.vbs
blob8ce6f7adcd1a99727a6bcf7326b658227f857c50
1 For Each Host In WScript.Arguments
2 Set WMIservice = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & host & "\root\cimv2")
4 Set colsettings = WMIservice.ExecQuery("SELECT * FROM Win32_Processor")
7 For Each proc In colsettings
8 Wscript.Echo(host & ": " & proc.description)
9 Next
10 Next