Skip to content

Approve LastExitCode

Apostolis Bekiaris edited this page Apr 22, 2020 · 5 revisions

external help file: XpandPwsh-help.xml Module Name: XpandPwsh online version: schema: 2.0.0

Approve-LastExitCode

SYNOPSIS

Throws if $lastExitCode is not zero.

SYNTAX

Approve-LastExitCode [<CommonParameters>]

DESCRIPTION

Throws if $lastExitCode is not zero.

EXAMPLES

Example 1

PS C:\> Approve-LastExitCode

PARAMETERS

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

None

OUTPUTS

System.Object

NOTES

RELATED LINKS

image

image


Star the project if you think it deserves it.

GitHub stars

Fork the project to extend and contribute.

GitHub forks

Clone this wiki locally