How to stop service with their dependent services using PowerShell?
https://www.tutorialspoint.com/how-to-stop-service-with-their-dependent-services-using-powershell
-
13-09-2020 - |
Question
How to stop service with their dependent 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
Advertisements
Not affiliated with Tutorialspoint