Commands / System

Get-Service

List Windows services

beginner System Aliases gsv

Get-Service
 Get-Service | Where-Object Status -eq 'Running'
Works on
Windows
PowerShell
5.1 and later
Reference
Microsoft Learn: Get-Service

Windows only. Lists services. Status is Running or Stopped. Some service names are not the display names. Use -DisplayName '*print*' when you do not know the short name.

Try this

Get-Service -Name Spooler

Coming from another shell

ShellWhat you might type
bash / zshsystemctl list-units --type=service --state=running
cmd.exesc query

More in From bash and From cmd.

Related commands