PowerShell: List All Stopped Services
Need to see every currently stopped service on a machine - for troubleshooting a missing feature, auditing disabled services, or confirming something isn't running when it shouldn't be? This one-liner filters the full service list down to just the inactive ones.
Prerequisites:
- Privileges: None
- Module: Built-in, no import needed
Quick Command:
Get-Service | Where-Object { $_.Status -eq "Stopped" }
Example Output:
Status Name DisplayName
------ ---- -----------
Stopped RemoteRegistry Remote Registry
Stopped WerSvc Windows Error Reporting Service
Stopped XblAuthManager Xbox Live Auth Manager
Stopped XboxNetApiSvc Xbox Live Networking Service
Stopped RetailDemo Retail Demo Service
📦
Want all of them at once?
Get every free one-liner from this blog in a single downloadable bundle organized by category, each with full comment-based help. No more copy-pasting one at a time.
Get every free one-liner from this blog in a single downloadable bundle organized by category, each with full comment-based help. No more copy-pasting one at a time.
How It Works:
- Get-Service returns every service on the system, regardless of its current state (running, stopped, paused).
- Where-Object { $.Status -eq "Stopped" } filters that list down to only the services whose Status property equals "Stopped" - $ refers to each service as it's checked, one at a time.
- Everything not matching Stopped (running, paused, or otherwise) gets filtered out, leaving only inactive services in the output.