Cmdlet
New-ConsoleFlowNode
Creates a labelled flow node with an optional status glyph and colour.
Syntax
New-ConsoleFlowNode
-Key <String>
[-Label] <String>
[-Status <StatusKind>]
[<CommonParameters>]#Parameter set:
All Parameter SetsDescription
Builds a node for New-ConsoleFlow or Add-ConsoleItem. Key is its stable identity for live updates; Label is literal text. Status uses the shared vocabulary and remains readable through a glyph when colour is disabled.
Examples
Example 1
New-ConsoleFlowNode -Key client -Label 'Client' -Status PassA client hop that has completed
Parameters
- -Key String
- Stable node key.
- -Label String
- Literal node label.
- -Status StatusKind
- Optional node status.
- Possible values:
Pending,Running,Pass,Fail,Warn,Skip,Info
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.