Skip to content

Approve LastExitCode

Apostolis Bekiaris edited this page Feb 25, 2020 · 5 revisions

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

{{ Add example description here }}

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