16

Is there a cheatsheet available for WMI? Like what can be queried, where to query it from?

Martijn Pieters
  • 963,270
  • 265
  • 3,804
  • 3,187
Geo
  • 89,506
  • 114
  • 330
  • 511

3 Answers3

18

There's a ton of information available to query. I think that the best way is just to enumerate everything and have a look.

Try Microsoft's WMI Code Creator application. It helps you build queries in a few languages, so is sort of an interactive cheatsheet.

I also remember finding the "wbemtest" application useful.

I think it's included with Windows, so try Start > Run > wbemtest.

Ilmari Karonen
  • 47,645
  • 9
  • 89
  • 149
xyz
  • 26,256
  • 29
  • 100
  • 125
2

I have found WMI Explorer very helpful in finding classes and methods-- it's a lot more elegant than WEBMtest

Wolf
  • 9,246
  • 7
  • 59
  • 101
1

You can use WMI Browser in the WMI administrative tools. You can search for the classes, query the classes etc.

http://www.microsoft.com/downloads/details.aspx?familyid=6430F853-1120-48DB-8CC5-F2ABDC3ED314&displaylang=en

Rajasankar
  • 918
  • 1
  • 19
  • 40
  • the broken link ("We are sorry, the page you requested cannot be found."), makes this answer little useful. – Wolf Feb 10 '17 at 13:05