source: trunk/server/testprogs/win32/wmi/echoprocessor.vbs

Last change on this file was 414, checked in by Herwig Bauernfeind, 15 years ago

Samba 3.5.0: Initial import

File size: 308 bytes
Line 
1For 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
10Next
Note: See TracBrowser for help on using the repository browser.