Skip to content
ConsoleMonster
Cmdlet

New-ConsoleFlowNode

Module
ConsoleMonster
Inputs
None
Outputs
ConsoleMonster.Widgets.FlowNode

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 Sets

Description

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 Pass

A client hop that has completed

Parameters

-Key String required
Stable node key.
-Label String requiredposition: 0
Literal node label.
-Status StatusKind optional
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.