- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to stop the service with the display name in PowerShell?n
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
- Related Articles
- How to start windows service with display name in PowerShell?
- How to stop service with their dependent services in PowerShell?
- How to stop service with their dependent services using PowerShell?
- How to stop a windows service using PowerShell?
- How to display specific properties from Get-Service output in PowerShell?
- How to remove Windows service with PowerShell?
- How to get service information with the WMI method using PowerShell?
- How to search for the specific service in PowerShell?
- How to stop the specific instance of the process in PowerShell?
- How to stop all instances of the process in PowerShell?
- How to stop the Azure VM using Azure CLI in PowerShell?
- How to stop multiple services using PowerShell?
- How to start a windows service using PowerShell?
- How to get all properties and methods available for the service in PowerShell?
- How to group processes with their name in PowerShell?

Advertisements