#start the following Windows services in the specified order: [Array] $Services = ‘MailService’,’SpamAssassin’,’OpenVPNServiceInteractive’,’Certify.Service’,’Schedule’; #loop through each service, if its not running, start it foreach($ServiceName in $Services){$arrService = Get-Service -Name $ServiceNamewrite-host …
Tag: