Microsoft has a very cool little utility, called WMI Code Creator

Here you can select what you want to look at and then it generates the code you need for it. You can download it here.
Not just that, you can click on the "Execute Code" button and it executes the code you have in the "generated code" text box so you can immediately see what the selected class in the selected namespace would return.
If you click the "Search for Property Values" button you get a list of the items in the results that have the selected property.
Hope this helps someone:)
Arnor Baldvinsson
0 Comments