Cmdlet
New-ConsoleDiagramNode
Creates a diagram component.
Syntax
New-ConsoleDiagramNode
[-Id <String>]
[-Kind <DiagramNodeKind>]
[-Label] <String>
[-Status <StatusKind>]
[-Subtitle <String>]
[-To <String[]>]
[-Value <String>]
[<CommonParameters>]#Parameter set:
All Parameter SetsDescription
Label is the connection identity unless Id is set. Subtitle is the second line and Value is the third. To adds unlabelled outgoing connections; missing destination nodes are created by the diagram.
Examples
Example 1
New-ConsoleDiagramNode Router -Kind Gateway -Subtitle '192.168.1.1' -Value '1 ms' -Status Pass -To InternetA monitored gateway.
Parameters
- -Id String
- An explicit connection and live-update key.
- -Kind DiagramNodeKind
- The component kind and icon.
- Possible values:
Service,Server,Workstation,Gateway,Cloud,Storage,Database,Queue,User,Person,App,Process,Device,External - -Label String
- The component's displayed name and default id.
- -Status StatusKind
- The component health. Omit it to show no status marker.
- Possible values:
Pending,Running,Pass,Fail,Warn,Skip,Info,Unknown - -Subtitle String
- The second line.
- -To String[]
- Destination node ids for outgoing connections.
- -Value String
- The independent third line.
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.