source:
trunk/server/testprogs/win32/wmi/echoprocessor.vbs
Last change on this file was 414, checked in by , 15 years ago | |
---|---|
File size: 308 bytes |
Line | |
---|---|
1 | For Each Host In WScript.Arguments |
2 | Set WMIservice = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & host & "\root\cimv2") |
3 | |
4 | Set colsettings = WMIservice.ExecQuery("SELECT * FROM Win32_Processor") |
5 | |
6 | |
7 | For Each proc In colsettings |
8 | Wscript.Echo(host & ": " & proc.description) |
9 | Next |
10 | Next |
Note:
See TracBrowser
for help on using the repository browser.