$cs.Service_Exist

Syntax

$cs.Service_Exist(string servicename)

 

Parameters

servicename

Service name to check for

 

Example

if ($cs.Service_Exist("gupdate")){$cs.Service_Stop("gupdate")}

returns value as boolean

Â