I have a PowerShell script that waits for a Service to start:
$ServiceName = \'asComSvc\' $Service = Get-Service -Name $ServiceName While ( $Service.status -ne \'