7 lines
221 B
Plaintext
7 lines
221 B
Plaintext
'This script shows how you can list all process names
|
|
|
|
set service = GetObject ("winmgmts:{impersonationLevel=Impersonate}")
|
|
|
|
for each Process in Service.InstancesOf ("Win32_Process")
|
|
WScript.Echo Process.Name
|
|
next |