PowerTip: Create a nested PowerShell custom object
Summary: Learn how to create a nested PowerShell custom object. Â How do I create a nested PowerShell custom object to store layers (nested) of information? Use a hashtable with the PSCustomObject type accelerator, and specify PSCustomObject as the value to the Property Name (Key): [PSCustomObject]@{ PropertyName = [PSCustomObject]@{ NestedPrope...