$cs.Service\_Exist
Syntax
Section titled “Syntax”$cs.Service_Exist(string servicename)
Parameters
Section titled “Parameters”servicename
Service name to check for
Example
Section titled “Example”if ($cs.Service_Exist("gupdate")){$cs.Service_Stop("gupdate")}returns value as boolean