- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to get services based on start-type in PowerShell?
Below commands are useful to filter services based on their start types (Automatic, Manual or Disabled).
Command
To get the Automatic start-type service. These services are started automatically when the system starts.
Get-Service | where{$_.StartType -eq "Automatic"} | Select Name, Starttype
Output
SystemEventsBroker Automatic TeraCopyService Automatic Themes Automatic TrkWks Automatic UserManager Automatic UsoSvc Automatic VMUSBArbService Automatic WavesSysSvc Automatic Wcmsvc Automatic Winmgmt Automatic WlanSvc Automatic WpnService Automatic WpnUserService_158379 Automatic wscsvc Automatic WSearch Automatic ZeroConfigService Automatic
Command
To get the Manual start-type service. These services need to start manually and they are not started automatically when the system starts. They can be triggered by users or applications.
Get-Service | where{$_.StartType -eq "Manual"} | Select Name, Starttype
Output
WinRM Manual wisvc Manual wlidsvc Manual wlpasvc Manual WManSvc Manual wmiApSrv Manual WMPNetworkSvc Manual workfolderssvc Manual WpcMonSvc Manual WPDBusEnum Manual
Command
To get the Disabled start-type service. These types of services are disabled by the user or system administrators when they are not useful.
Get-Service | where{$_.StartType -eq "Disabled"} | Select Name, Starttype
Output
Name StartType ---- --------- AppVClient Disabled NetTcpPortSharing Disabled RemoteAccess Disabled RemoteRegistry Disabled shpamsvc Disabled ssh-agent Disabled svcdemo Disabled tzautoupdate Disabled UevAgentService Disabled
- Related Articles
- How to get services based on multiple conditional parameters in PowerShell?
- How to get all the services based on their status in PowerShell?
- How to start dependent services in PowerShell?
- How to start multiple windows services using PowerShell?
- How to get services on remote computers with PowerShell?
- How to get the services on a local computer with PowerShell?
- How to get the variable data type in PowerShell?
- How to get a week start and end date based on a specific date in Excel?
- How to stop multiple services using PowerShell?
- How to get the certificate's start and expiry date using PowerShell?
- How to stop service with their dependent services in PowerShell?
- How to get the Azure VM storage account type using PowerShell?
- How to start any program using PowerShell?
- How to get element based on index in android CopyOnWriteArrayList?
- How to get subtotals based on invoice number in Excel?

Advertisements