you will have to look into using WSHpipe() then.

Code:

$service = "Windows Management Instrumentation"
$netstart = Split(Join(Split(Join(wshpipe("net start",1),"")," "),""),CHR(13))

If AScan($netstart,$service)+1
? "The service " + $service + " is running"
Else
? "The service " + $service + " is NOT running"
EndIf