mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
c6595e1ead
(This used to be commit 690a7d71d8d7c98d2002ab04c289c57ccac835c4)
11 lines
308 B
Plaintext
Executable File
11 lines
308 B
Plaintext
Executable File
For Each Host In WScript.Arguments
|
|
Set WMIservice = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & host & "\root\cimv2")
|
|
|
|
Set colsettings = WMIservice.ExecQuery("SELECT * FROM Win32_Processor")
|
|
|
|
|
|
For Each proc In colsettings
|
|
Wscript.Echo(host & ": " & proc.description)
|
|
Next
|
|
Next
|