tags:

views:

517

answers:

5

Google let me down, I couldn't find it on MSDN. man wmi doesn't work at the windows shell... I'm looking for a list of objects that I can query, and how to construct the queries.

With WMI I mean the query language to query stuff like "Win32_Process"

I know about the classes and example queries, but I'm looking for a complete list of all possible query objects.

I already found what I'm looking for using the debugger, but it's still interesting to look at a complete overview to see what's possible with WMI.

+5  A: 

MSDN WIN32 Classes you can find a list of classes to use in your query here along with example queries

Michael G
Thanks man, that what where I'm looking for!
Paco
+3  A: 

There isn't a documented "complete" list of WMI classes that you can query, because programs can register their own WMI providers, and this can change between versions.

Use WBEMTEST and press the "Enum Classes" button...

Roger Lipscombe
+3  A: 

Do you know this tool WMI Code Creator, good for learn WMI.

lsalamon
Just wanted to say BIG THANKS for this link! Helped me a lot!
Amokrane
A: 

Microsoft TechNet Script Center has WMI Scripting Primer and many other hepful WMI resources.

Helen