Cmdlet
New-ConsoleDiagramGroup
Groups components and nested diagram groups.
Syntax
New-ConsoleDiagramGroup
[-Boundary <Boolean>]
[[-Content] <ScriptBlock>]
[-Label] <String>
[<CommonParameters>]#Parameter set:
All Parameter SetsDescription
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
- Whether to draw the group outline.
- -Content ScriptBlock
- Emits nodes and nested groups.
- -Label String
- 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.