Forum Discussion
CS_HelpDesk
2 years agoGoTo Contributor
Starting a service PowerShell script.
---
$service = $null
$s = Get-Service $service
if ($s.Status -eq 'stopped')
{
Start-Service -InputObject $s -PassThru
}
Starting a service PowerShell script.
---