-
-
Notifications
You must be signed in to change notification settings - Fork 7
Approve LastExitCode
apobekiaris edited this page Sep 4, 2020
·
5 revisions
Throws if $lastExitCode is not zero.
Approve-LastExitCode [<CommonParameters>]
Throws if $lastExitCode is not zero.
PS C:\> Approve-LastExitCode
Check and approve the LastExitCode of the last external application execution.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.