PSCustomObject

say it: “PEE-ESS KUS-tum OB-jekt” /ˌpiˈɛs ˈkʌstəm ˈɒbdʒɛkt/

Builds your own object with named properties.

What is PSCustomObject?

[PSCustomObject] builds your own object with named properties, which works nicely with the pipeline, tables and JSON.

[PSCustomObject]@{ Name = 'Pancakes'; Minutes = 20 } | Format-Table

Level: Journeyman · More PowerShell terms at this level

Updated