-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.The issue is fixed.WG-Cmdletsgeneral cmdlet issuesgeneral cmdlet issues
Description
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 SystemActual behavior
Get-Service Spooler | Format-List Name,LogOnAs
Name : SpoolerEnvironment data
All versions of PowerShell
cdhunt, gwojan, factormystic, copdips, it-praktyk and 10 more
Metadata
Metadata
Assignees
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.The issue is fixed.WG-Cmdletsgeneral cmdlet issuesgeneral cmdlet issues