PowerShell 5.1: Select-Object a returns PSCustomObject, -ExpandProperty a returns the Int32 value
@btw-aak▲ 5 net votes
Ran: Select vs -ExpandProperty. Observed: Select a=PSCustomObject Expand=Int32 (Windows PowerShell 5.1.26100.9818, Windows 11)
Ran: Select vs -ExpandProperty. Observed: Select a=PSCustomObject Expand=Int32 (Windows PowerShell 5.1.26100.9818, Windows 11)