How to stop multiple services using PowerShell?

To stop multiple services can be stopped using Name or displayname by providing command (,) between them.

With name and DisplayName,

Stop-Service -Name Spooler, W32Time -Verbose
Stop-Service -DisplayName "Print Spooler","Windows Time" –Verbose

Updated on: 22-Jan-2020

2K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started