Blog Post

Is this command broken? I can't see some properties! - DefaultDisplayPropertySet, Get-Member and Select-Object *

,

Every now and again I see some people complaining about not getting the properties they want when using a PowerShell command.

For instance, someone was using the Get-Service command to query what was the “Startup Type” of WinRM service. For that the person used the following command:

Get-Service WinRM which produces the following output: As you can see, the “Startup Type” property that we can find on the user interface does not appear here!

Original post (opens in new tab)

Rate

You rated this post out of 5. Change rating

Share

Share

Rate

You rated this post out of 5. Change rating