/
$cs.Service_Start

$cs.Service_Start

Syntax

$cs.Service_Start(string servicename,int maxTimeout=60000)

Parameters

servicename

Service name to start

maxTimeout

Max timeout in milliseconds (default is 60 seconds)

Example

if ($cs.Service_Exist('gupdate')){$cs.Service_Start('gupdate')}

returns nothing