I'd like to query WMI for WCF service information, but I'd rather not use PowerShell or the CIM Studio. Any other tools for doing this (command-line is cool too)?
Asked
Active
Viewed 2.6k times
3 Answers
17
C:\Windows\System32\wbem\wbemtest.exe
Type wbemtest
in to a command prompt or the Start Menu to launch this GUI tool.
Edit: Sorry - didn't notice you said command-line specifically. Maybe useful none the less.

xyz
- 27,223
- 29
- 105
- 125
-
This is perfect! I had no idea it existed. Thanks! – Jordan Parmer Apr 06 '10 at 16:37
4
You could try wmic. It works well enough for interactive use, but I prefer to use vbscript for, well, scripts.

Jeff Hardy
- 7,632
- 24
- 24
1
You could use VBScript, but I would not recommend it unless you are already quite familiar with it.
Some examples of using WMI via both PowerShell and VBScript can be found here.

Chris Shouts
- 5,377
- 2
- 29
- 40