Command Reference

Get-Service

PowerShell System Services Intermediate Risk: Low
Back to Command Library

Summary

Lists Windows services and reports whether each is running, stopped, or paused.

Syntax

Get-Service [[-Name] <String[]>]

Examples

Get-Service | Where-Object Status -ne 'Running' | Select-Object Status, Name, DisplayName

Lists services that are not currently running without changing them.

Permissions

Administrator required: No

Most service states are visible without elevation; protected details may require it.

Risk and Impact

Risk level: Low

Changes the system: No

Get-Service is read-only. Do not start or stop unfamiliar services.

Supported Platforms

Windows 10 Windows 11 Windows Server

Important Output Fields

Status

Current running, stopped, or paused state.

Name

Service identifier used by Windows.

DisplayName

Human-readable service name.

Common Errors

Cannot open service

The service is protected or access is restricted.

Related Articles

These Gnojo articles use or explain this command.

Desktop Support Intermediate

How to Inspect and Clear a Stuck Windows Print Queue

Inspect one Windows printer queue, remove the least amount of authorized queued work needed to recover it, and verify the result without treating a queue change as proof that every printing problem is resolved.

View Article

Official References

Get-Service

Microsoft Learn · Official Documentation

Open Source