I can see the exit code message here in the deploy-application text : 69000 - 69999: Recommended for user customized exit codes in Deploy-Application.ps1
Basically how do i set a custom exit code in deploy-application as i cant see how in the documentation?
I have a Show-InstallationPrompt prompting the user if they want to defer for 60 minutes.
This brings the answer from the prompt into a powershell:
if($response -eq ‘Defer for 60 minutes’)
Exit-Script -ExitCode 69002 #this code to indicate user clicked to install later.
How can i afterthe 60 minutes stop the toolkit returning a failure balloon message for exit code 69002?
Id like the exit code 69002 to not show ANY balloon or failure messages if possible?