How to start multiple windows services using PowerShell?

PowerShellMicrosoft TechnologiesSoftware & Coding

To start multiple services with PowerShell, we need to use comma (,) between services.

For example,

Start-Service -Name Spooler,AdobeARMservice -Verbose


Get-Service -Name Spooler,AdobeARMservice | Start-Service -Verbose

To start the services with display name,

Start-Service -Name “Print Spooler”, “Work Folder” -Verbose


Get-Service -Name “Print Spooler”, “Work Folder” | Start-Service -Verbose
raja
Published on 22-Jan-2020 10:33:25
Advertisements