Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Selected Reading
How to stop the service with the display name in PowerShell?
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
Advertisements
