# Creating a PSCustomObject in Powershell $MyDetails = @{ Name = 'Sean' Height = '188cm' } $Me = New-Object -TypeName PsObject -Property $MyDetails