Skip to content
ConsoleMonster
Cmdlet

New-ConsoleFlowBranch

Module
ConsoleMonster
Inputs
None
Outputs
ConsoleMonster.Widgets.FlowBranch

Creates the single side branch below a flow strip.

Syntax

New-ConsoleFlowBranch
-From <String>
[-Label] <String>
[-Status <StatusKind>]
[-To <String>]
[<CommonParameters>]
#
Parameter set: All Parameter Sets

Description

Builds the single side branch for New-ConsoleFlow or Add-ConsoleItem. From identifies its source node. Omit To to end below that node, or name a later node to return to the strip. Label explains the branch using literal text.

Examples

Example 1

New-ConsoleFlowBranch -From issuer -Label 'expired 2026-09-30' -Status Fail

An expiry reason below the issuer

Parameters

-From String required
Source node key.
-Label String requiredposition: 0
Literal branch label.
-Status StatusKind optional
Optional branch status.
Possible values: Pending, Running, Pass, Fail, Warn, Skip, Info
-To String optional
Optional later node to return to; omitted to end the branch.

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.