Reputation: 8381
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.
Upvotes: 4
Views: 3682
Reputation: 1020
I usually use WMI Explorer for my project Services+ , contains full information about WMI queries and methods.
Upvotes: 0
Reputation: 7465
You can use WMIViewer to browse WMI classes at http://iaas.ao-is.com/Download it is open source, and even generate powershell code for you.
Upvotes: 1
Reputation: 160
As Mentioned Previously WBEMTest is a good tool that is built into windows that helps you explore on top of msdn WMI Documentation.
Personally though I found WMI Studio to be the most complete tool helping understand What Each WMI class really does and how it behaves.
WMI Studio is a bit Studio. It runs as an ActiveX Addon For IE.
It might not be compilable with IE11 so you might have to turn off Enhanced Protection Mode in IE11 to get this working.
Upvotes: 0
Reputation: 8174
Do you know this tool WMI Code Creator, good for learn WMI.
Another similar tool Scriptomatic 2.0.
Upvotes: 7
Reputation: 9345
There is a Query Language Guide, Query Language Reference, and the Main WMI Documentation page on MSDN.
Upvotes: 1
Reputation: 97847
Microsoft TechNet Script Center has WMI Scripting Primer and many other hepful WMI resources.
Upvotes: 1
Reputation: 91885
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...
Upvotes: 2
Reputation: 6745
MSDN WIN32 Classes you can find a list of classes to use in your query here along with example queries
Upvotes: 7