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?
or just do somethig like this at an elevated prompt
WMIDiag is a good place to start.
WMI Diagnosis Utility