List stopped Windows services
Build a paste-ready command, then review its compatibility and effects before running it.
Get-Service | Where-Object Status -eq 'Stopped'read-onlyno known side effects Compatibility
WindowsVerified for Windows using powershell syntax.
Operational knowledgereview due 2027-01-19
RequirementsGet-ServiceGet-Service must be installed and available on PATH.
Version supportGet-Service Current supported releasesVerified for windows using powershell syntax; consult compatibility notes for platform-specific differences.
Expected signalsStatus Name DisplayNameRepresentative successful output; values vary with the selected target and system state.
Known errorsGet-Service: command not foundGet-Service is missing or is not available on PATH.
VerifyGet-Service | Where-Object Status -eq 'Stopped'The output matches the expected target and exits without an error.Rollback noteNot required: this command is read-only and does not change system state.
Command breakdown
01Get-ServiceCommandRuns the Get-Service stage of this one-liner.
02|PipelinePasses the output on the left to the command on the right.
03Where-ObjectCommandRuns the Where-Object stage of this one-liner.
04StatusArgumentPasses Status to Where-Object.
05-eqOptionConfigures Where-Object with the -eq option.
06'Stopped'ArgumentPasses 'Stopped' to Where-Object.
Example input
Get-Service | Where-Object Status -eq 'Stopped'
Example output
Status Name DisplayName
------ ---- -----------
Stopped BITS Background Intelligent Transfer Service
Stopped Spooler Print Spooler
Stopped WSearch Windows Search
Illustrative output — exact values vary by system and data.
Runbooks
Official sources