Skip to content
ConsoleMonster
Cmdlet

New-ConsoleDiagramGroup

Module
ConsoleMonster
Inputs
None
Outputs
ConsoleMonster.Widgets.DiagramGroup

Groups components and nested diagram groups.

Syntax

New-ConsoleDiagramGroup
[-Boundary <Boolean>]
[[-Content] <ScriptBlock>]
[-Label] <String>
[<CommonParameters>]
#
Parameter set: All Parameter Sets

Description

Content emits New-ConsoleDiagramNode and New-ConsoleDiagramGroup objects. The grouped tree keeps all children at narrow widths. Boundary controls the topology outline.

Examples

Example 1

New-ConsoleDiagramGroup 'Office LAN' { New-ConsoleDiagramNode '12 PCs' -Kind Workstation -To Firewall }

Office components.

Parameters

-Boundary Boolean optional
Whether to draw the group outline.
-Content ScriptBlock optionalposition: 1
Emits nodes and nested groups.
-Label String requiredposition: 0
The group label.

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.