First, let me say that this person knows that
Select-Objectcan be used to select the properties we want, so he tried to guess the property name using a trial/error approach.
The person tried:Get-Service WinRM | Select-Object Startup, Status, Name, DisplayName
and also:Get-Service WinRM | Select-Object StartupType, Status, Name, DisplayName
But all of them were just empty.
There is a better way.