views:

112

answers:

3

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)?

+2  A: 

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.

frou
This is perfect! I had no idea it existed. Thanks!
j0rd4n
+2  A: 

You could try wmic. It works well enough for interactive use, but I prefer to use vbscript for, well, scripts.

Jeff Hardy
A: 

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