PSCustomObject

This creates a custom object with properties, useful if using multiple sources of data to create a new type of record.

$myObject = [PSCustomObject]@{
    Name     = 'Kas'
    Language = 'PowerShell'
    State    = 'Powering Through'
}

$myObject

Converting a Hashtable to an object

$myHashtable = [ordered]@{
    Users    = 'Mothers'
	State    = 'Single'
	Location = 'Near You'
}
$myObject = [pscustomobject]$myHashtable

$myObject