Quick Actions
Get-Service
Description
Gets the services on a local or remote computer.
Command
Get-Service
Examples
Get all services
Get-Service
Get services with names starting with 'win'
Get-Service -Name win*
Get a specific service and pipe it to Format-List
Get-Service -Name WinRM | Format-List *
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
[-Name <String[]>] |
string | No | Specifies the service names to get. |
[-DisplayName <String[]>] |
string | No | Specifies the display names of the services to get. |
[-ComputerName <String[]>] |
string | No | Specifies a remote computer. |
Command Info
Category:
System Management
Type:
Powershell
Views:
12
Status:
Active
Tags
powershell
service
system
admin