How to stop service with their dependent services using PowerShell?

PowerShellMicrosoft TechnologiesSoftware & Coding

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
raja
Published on 22-Jan-2020 10:16:13
Advertisements