Get startup type of Windows service using PowerShell

后端 未结 10 2432
小蘑菇
小蘑菇 2020-12-23 19:22

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 disp

10条回答
  •  伪装坚强ぢ
    2020-12-23 19:58

    It is possible with PowerShell 4.

    Get-Service *spool* | select name,starttype | ft -AutoSize
    

    screenshot

提交回复
热议问题