$Person = [PSCustomObject]@{
FullName = "Thomas De Reyck"
Age = 37
Job = "IT technician"
}
When you output the created object afterwards, we can see our own custom fields:
> $Person
FullName Age Job
-------- --- ---
Thomas De Reyck 37 IT technician
{{tag>powershell}}