Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (10 sloc) 158 Bytes
Param(
$Action,
$ServiceName
)
if($Action -eq 'Stop') {
Stop-Service $ServiceName
}
elseif($Action -eq 'Start') {
Start-Service $ServiceName
}
You can’t perform that action at this time.