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?
2 Answers
or just do somethig like this at an elevated prompt
wmic os
-
Thanks, that's what I was looking for. When WMI is down, it gives an error message and I can catch that pattern.– HakanOct 4, 2011 at 15:22
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