Cmdlet
New-ConsoleFlowBranch
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 SetsDescription
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 FailAn expiry reason below the issuer
Parameters
- -From String
- Source node key.
- -Label String
- Literal branch label.
- -Status StatusKind
- Optional branch status.
- Possible values:
Pending,Running,Pass,Fail,Warn,Skip,Info - -To String
- 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.