Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 1.0 » Get-Service

Get-Service - Powershell 1.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Get-Service

Description
Get a list of services

Usage


Options


Example(s)
Get all the services on the computer.:

PS C:\>get-service

Get services with names that begin "WMI":

PS C:\>get-service wmi*

Display only services that are currently running:

PS C:\>get-service | where-object {$_.Status -eq "Running"}

Status is only one property of service objects, to see all the properties: get-service | get-member
To retrieve the description of a service use the Win32_Service WMI class:

PS C:\>get-wmiobject win32_service | where-object {$_.Name -eq "Schedule"} | format-list Name, Description