Get-Service

noun

say it: “GET SUR-vis” /ˈɡɛt ˈsɝvɪs/

A PowerShell command that lists Windows services, the background programs with no window, and whether each one is running.

What does Get-Service do?

Get-Service shows Windows' services, the programs with no window that do one job in the background, and whether each is running. Ask by the short -Name or the longer -DisplayName; Select-Object adds StartType, when the service starts. It changes nothing.

Get-Service -Name Spooler, Audiosrv | Select-Object Name, Status, StartType
# Name      Status StartType
# Audiosrv Running Automatic
# Spooler  Running Automatic

In a sentence

  • “Sam added Select-Object StartType to Get-Service to see when each service starts.”
  • “Get-Service showed the Print Spooler as Running, so the printer problem was somewhere else.”

Level: Apprentice · More PowerShell terms at this level

Updated