Search code examples
powershellwindows-services

Get startup type of Windows service using PowerShell


How can I get the Windows service startup type using PowerShell and not using WMI?

I looked inside the Get-Service command, and it does not provide something to display the "startup type".


Solution

  • With PowerShell version 4:

    You can run a command as given below:

       Get-Service | select -property name,starttype