Cmdlet
New-ConsoleTree
Creates a console tree from nested hashtables.
Syntax
New-ConsoleTree [-Data] <IDictionary> [-Title <Object>] [<CommonParameters>]#Parameter set:
All Parameter SetsDescription
Creates a console tree from nested hashtables.
Each key becomes a node. A nested hashtable (or ordered dictionary) becomes child nodes; an array becomes leaf nodes; any other value is shown as a muted note after the key. Use [ordered] to keep order.
Examples
EXAMPLE 1
New-ConsoleTree -Data @{}Parameters
- -Data IDictionary
- Nested hashtables describing the tree.
- -Title Object
- The root label; without it the top-level keys are the roots.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.