8

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

RRUZ
  • 134,889
  • 20
  • 356
  • 483
Jordan Parmer
  • 36,042
  • 30
  • 97
  • 119

3 Answers3

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