Skip to content
ConsoleMonster
Cmdlet

Write-ConsoleTree

Module ConsoleMonster
Inputs
None

Writes nested hashtables as a console tree.

Syntax

Write-ConsoleTree [-Data] <IDictionary> [-Title <Object>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Description

Writes nested hashtables as a console tree.

Same parameters as New-ConsoleTree; the tree is written immediately.

Examples

Authored help example

EXAMPLE 1

Write-ConsoleTree -Data @{}

Parameters

-Data IDictionary requiredposition: 0
Nested hashtables describing the tree.
-Title Object optional
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.