Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a way to get list of open processes into the fi
Message
De
29/05/2008 14:16:13
 
 
Information générale
Forum:
Windows
Catégorie:
Dépannage
Divers
Thread ID:
01320331
Message ID:
01320352
Vues:
16
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform