I'm looking for a way to check whether WMI is running properly on a Windows Server 2008 machine. I'd prefer to do this by running a command. Is there any?

link|improve this question
feedback

2 Answers

up vote 2 down vote accepted

or just do somethig like this at an elevated prompt

wmic os

link|improve this answer
Thanks, that's what I was looking for. When WMI is down, it gives an error message and I can catch that pattern. – Hakan Oct 4 '11 at 15:22
feedback

WMIDiag is a good place to start.

WMI Diagnosis Utility
http://technet.microsoft.com/en-us/library/ff404265.aspx

WMIDiag download
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=7684

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.