powershell to find windows service logon account September 07, 2022 (get-wmiobject Win32_Service -computername $servername -Filter "Name='MSSQLSERVER'").startname Read more