new-object
select-object
(with the -property
option)
import-CSV
convertFrom-csv
convertFrom-JSON
convertFrom-stringData
new-module
(The -asCustomObject` parameter)
add-member
(when operated on a simple .NET type like System.Int32
) add-type
defines a class in the current PowerShell session. This class can then be instantiated with new-object