Currently the #1 item on the PowerShell UserVoice: https://windowsserver.uservoice.com/forums/301869-powershell/suggestions/12336204-get-service-should-return-the-user-account-the-ser
Arnaud Petitjean:
The Get-Service cmdlet should return the service account associated to each service.
We can get this information easily from the Win32_Service WMI class, but to me, it should be returned by Get-Service.
Expected behavior
Get-Service Spooler | Format-List Name,LogOnAs
Name : Spooler
LogOnAs : Local System
Actual behavior
Get-Service Spooler | Format-List Name,LogOnAs
Name : Spooler
Environment data
All versions of PowerShell
Currently the #1 item on the PowerShell UserVoice: https://windowsserver.uservoice.com/forums/301869-powershell/suggestions/12336204-get-service-should-return-the-user-account-the-ser
Arnaud Petitjean:
Expected behavior
Actual behavior
Environment data
All versions of PowerShell