get-service Verified current stable Not installed? Kubernetes

Get Service / List Stopped Services

List Stopped Services

Get Service command syntax to list stopped services. Copyable examples, output expectations, and common mistakes.

$
Terminal
Get-Service | Where-Object {$_.Status -eq "Stopped"}

Command Breakdown

What each part is doing

Get-Service
Base Command
The executable that performs this operation. Here it runs Get Service before the shell applies any redirect operators.
-eq
Command Option
Tool-specific option used by this command invocation.

Alternative Approaches

Comparable commands in other tools

Alternative kubernetes tools for the same job.