Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a way to get list of open processes into the fi
Message
General information
Forum:
Windows
Category:
Troubleshooting
Miscellaneous
Thread ID:
01320331
Message ID:
01320352
Views:
15
This message has been marked as the solution to the initial question of the thread.
>>How about WMI?
>
>Good idea. Can you please give me a script file?
>
>Thanks.

Instead of scripting
Check this:
http://www.microsoft.com/downloads/details.aspx?FamilyID=2cc30a64-ea15-4661-8da4-55bbc145c30e&displaylang=en
:-)
You should translate the generated script to everything you need.
objWMIService = GetObject("winmgmts:\\.\root\CIMV2") 
colItems = objWMIService.ExecQuery("SELECT * FROM Win32_Process",,48) 
For Each objItem in colItems 
    ? "-----------------------------------"
    ? "Win32_Process instance"
    ? "-----------------------------------"
    ? "Name: " + objItem.Name
Next
(not tested)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform