PowerShell. Local service querying is typical; remote behavior depends on PowerShell version/cmdlet parameters/remoting approach used.
Get-Service
Get-Service
PowerShell cmdlet that gets Windows service objects and their SCM-reported status. It is a read-oriented starting point for service inventory, filtering and pipeline-based troubleshooting.
Use to find the exact service name and current state, filter multiple services and feed known service objects into further read/controlled operations.
Inspect SCM state plus PID/checkpoint and service-specific events, validate the owned resource such as listener/device/file, then repeat the original client operation. Repeat the original workload/request before closure.
Privilege Read-only shell / API contextState impact Read-onlyProduction Unknown
Field glossary
Important fields projected from persisted Command guidance.
Service object properties such as Status, Name and DisplayNameImportant persisted output field; use surrounding guidance for interpretation.
additional properties/methods can be inspected through the PowerShell object model.Important persisted output field; use surrounding guidance for interpretation.
Used in these Topics
Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.
Evidence boundary
What this output can establish — and where you must not over-claim.
Supports the state directly exposed by Get-Service for the selected object and execution context.
Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.
Inspect SCM state plus PID/checkpoint and service-specific events, validate the owned resource such as listener/device/file, then repeat the original client operation. Repeat the original workload/request before closure.
Command guidance
Execution context
PowerShell. Local service querying is typical; remote behavior depends on PowerShell version/cmdlet parameters/remoting approach used.
Use when
Use to find the exact service name and current state, filter multiple services and feed known service objects into further read/controlled operations.
Important fields
Service object properties such as Status, Name and DisplayName; additional properties/methods can be inspected through the PowerShell object model.
Common problems
Filtering by friendly text and matching the wrong service; treating Status Running as application health; assuming a one-time query captures transient state changes.
Operational impact
Read-only when used as Get-Service to retrieve service objects.
Runtime cautions
Record timestamp. For configuration such as binary path/account/start type, use an appropriate configuration query rather than assuming the basic object displays everything needed.
Technical context
Use service-specific health checks after proving SCM state.
Variants · known-good and broken output
Read the stored sample against its authored expected state and interpretation, then return to the Command evidence boundary for what the observation can and cannot prove.
Query a named serviceObserved · Windows
Status Name DisplayName
------ ---- -----------
Running Spooler Print SpoolerSCM status returned by PowerShell
PowerShell found the service and SCM reports Running. This is not proof that printing works end-to-end.
Supports the state directly exposed by Get-Service for the selected object and execution context.
Does not prove: Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.Inspect SCM state plus PID/checkpoint and service-specific events, validate the owned resource such as listener/device/file, then repeat the original client operation. Repeat the original workload/request before closure.
Known-good state patternKnown-good · Windows / Windows Server / PowerShell
State pattern: expected object is present, identity/scope matches the controlled test, terminal state is healthy and relevant counters/results are internally consistent.healthy/terminal
Get-Service — Known-good. State pattern: expected object is present, identity/scope matches the controlled test, terminal state is healthy and relevant counters/results are internally consistent. Why: this command exposes Service Control Manager lifecycle state. What it proves: only the selected object/context and fields directly returned here. What it does not prove: root cause, adjacent dependency health or end-to-end workload success. Next check: Inspect SCM state plus PID/checkpoint and service-specific events, validate the owned resource such as listener/device/file, then repeat the original client operation. Then repeat the original workload/request and verify the return path.
Supports the state directly exposed by Get-Service for the selected object and execution context.
Does not prove: Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.Inspect SCM state plus PID/checkpoint and service-specific events, validate the owned resource such as listener/device/file, then repeat the original client operation. Repeat the original workload/request before closure.
Transitional state patternTransitional · Windows / Windows Server / PowerShell
State pattern: object exists but negotiation, convergence, reconciliation, retry or recovery is still progressing; timers/counters or stage markers should change between samples.in-progress
Get-Service — Transitional. State pattern: object exists but negotiation, convergence, reconciliation, retry or recovery is still progressing; timers/counters or stage markers should change between samples. Why: this command exposes Service Control Manager lifecycle state. What it proves: only the selected object/context and fields directly returned here. What it does not prove: root cause, adjacent dependency health or end-to-end workload success. Next check: Inspect SCM state plus PID/checkpoint and service-specific events, validate the owned resource such as listener/device/file, then repeat the original client operation. Then repeat the original workload/request and verify the return path.
Supports the state directly exposed by Get-Service for the selected object and execution context.
Does not prove: Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.Inspect SCM state plus PID/checkpoint and service-specific events, validate the owned resource such as listener/device/file, then repeat the original client operation. Repeat the original workload/request before closure.
Broken state patternBroken · Windows / Windows Server / PowerShell
State pattern: expected object is absent, denied, unresolved, failed or divergent from the controlled test; error/result fields identify the directly observed boundary, not automatic root cause.failed/degraded
Get-Service — Broken. State pattern: expected object is absent, denied, unresolved, failed or divergent from the controlled test; error/result fields identify the directly observed boundary, not automatic root cause. Why: this command exposes Service Control Manager lifecycle state. What it proves: only the selected object/context and fields directly returned here. What it does not prove: root cause, adjacent dependency health or end-to-end workload success. Next check: Inspect SCM state plus PID/checkpoint and service-specific events, validate the owned resource such as listener/device/file, then repeat the original client operation. Then repeat the original workload/request and verify the return path.
Supports the state directly exposed by Get-Service for the selected object and execution context.
Does not prove: Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.Inspect SCM state plus PID/checkpoint and service-specific events, validate the owned resource such as listener/device/file, then repeat the original client operation. Repeat the original workload/request before closure.
Illustrative healthy Services & Event LogsKnown-good · Windows / Windows Server / PowerShell
Status Name DisplayName\nRunning DNS DNS ServerThe expected local object and state are visible for the controlled example.
Illustrative output only; syntax and fields vary. Continue through the documented evidence chain.
Supports the state directly exposed by Get-Service for the selected object and execution context.
Does not prove: Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.Inspect SCM state plus PID/checkpoint and service-specific events, validate the owned resource such as listener/device/file, then repeat the original client operation. Repeat the original workload/request before closure.