You can use the Get-Service cmdlet in PowerShell to get all services on a computer, including running and stopped services.
Often you may want to use the Get-Service cmdlet to check the startup type of a particular service.
You can use the following methods to do so:
Method 1: Get Startup Type of All Services
Get-Service | Select -property name,starttype
This particular example will return the name and startup type of each service on our computer.
Method 2: Get Startup Type of Specific Service
Get-Service -name 'WSearch' | Select -property name,starttype
This particular example will return the name and startup type for only the service named WSearch.
Method 3: Filter for Services with Specific Startup Type
Get-Service | Where {$_.StartType -eq 'Disabled'} | Select Name, Starttype
This particular example will return only the services that have a startup type of Disabled.
The following example shows how to use each of these methods in practice.
Example 1: Get Startup Type of All Services
We can use the following syntax to return the startup type for each service on our computer:
Get-Service | Select -property name,starttype
The following screenshot shows how to use this syntax in practice:

This returns the startup type of each service on our computer.
Note: The screenshot only shows the startup type for the first few services in alphabetical order.
Example 2: Get Startup Type of Specific Service
We can use the following syntax to return the startup type for only the service named WSearch on our computer:
Get-Service -name 'WSearch' | Select -property name,starttype
The following screenshot shows how to use this syntax in practice:

This returns the startup type for the service named WSearch only.
We can see that it has a startup type of Automatic.
Example 3: Filter for Services with Specific Startup Type
We can use the following syntax to return only the services that have a startup type of Disabled:
Get-Service | Where {$_.StartType -eq 'Disabled'} | Select Name, Starttype
The following screenshot shows how to use this syntax in practice:

Notice that this returns only the services with a startup type of Disabled.
Feel free to replace Disabled with Automatic or Manual to filter by a different startup type.
Note: You can find the complete documentation for the Get-Service cmdlet in PowerShell here.
Related Tutorials
The following tutorials explain how to perform other common tasks in PowerShell:
PowerShell: How to Use Get-Service and Filter Results
PowerShell: How to Use Get-Service to Check Status of Service
PowerShell: How to Use Get-ChildItem with Filter
PowerShell: How to Use Get-ChildItem with Multiple Filters
