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:
01320366
Views:
15
>>>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
>:-)

Thanks, Borislav. Looks like I would be able to use the generator in the future.

>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)
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform