How to list all the Services running with a Service Account using Powershell or 
Find Which Account a Service is Set to “Log On As”

1 answer

Staff April 26, 2016

Hit this at Powershell it wll only list service which is set as log on with account.

Get-WMIObject Win32_Service | Where-Object {$_.startname -ne “localSystem” }| Where-Object {$_.startname -ne “NT AUTHORITY\LocalService” } |Where-Object {$_.startname -ne “NT AUTHORITY\NetworkService” } |select startname, name


Please login or Register to Submit Answer