هل كانت مفيدة؟

سؤال

How to stop the service with the display name in PowerShell?

PowerShellMicrosoft TechnologiesSoftware & Coding

Similar to -Name parameter, when you add -DisplayName parameter followed by service display name, it will stop service with DisplayName.

Stop-Service -DisplayName 'Print Spooler' -Verbose

OR

Get-Service -DisplayName "Print Spooler" | Stop-Service -Verbose
raja
Published on 22-Jan-2020 14:44:43
Advertisements
هل كانت مفيدة؟
لا تنتمي إلى Tutorialspoint
scroll top