I was recently searching for a quick way of testing the WMI on remote machine. Apparently you can accomplish this task by using PowerShell or VBScript etc. However there seems to be much easier way.
The Windows Management Instrumentation Command (WMIC) perfectly fits here. Following command allows checking the state of Server service on a remote machine.
wmic /node:"HOSTNAME" SERVICE WHERE Caption="Server" GET started
WMIC – Take Command-line Control over WMI
Witold Lawacz (Ławacz)