Exit-NBBranch
Since
v4.4.10.0
SYNOPSIS
Exits the current branch context.
SYNTAX
Exit-NBBranch [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION
Pops the current branch from the context stack and returns to the previous branch or main context. This is the counterpart to Enter-NBBranch.
EXAMPLES
EXAMPLE 1
Exit-NBBranch
Exit the current branch context.
EXAMPLE 2
$exitedBranch = Exit-NBBranch
Exit and capture the name of the exited branch.
PARAMETERS
-ProgressAction
{{ Fill ProgressAction Description }}
```yaml Type: ActionPreference Parameter Sets: (All) Aliases: proga
Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ```
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
OUTPUTS
[string] Returns the name of the branch that was exited.
NOTES
AddedInVersion: v4.4.10.0