Issue: When a provisioner powershell file has the "Start-Sleep" command, the script fails and exits with a error code of 16001.
The start-sleep command should not be failing the script and should be acting as a pause in a provisioning script, but for some reason packer exits the script and terminates the job.
1536230971,,ui,error,Build 'amazon-ebs' errored: Script exited with non-zero exit status: 16
001. Allowed exit codes are: [0]
1536230971,,error-count,1
1536230971,,ui,error,\n==> Some builds didn't complete successfully and had errors:
1536230971,amazon-ebs,error,Script exited with non-zero exit status: 16001. Allowed exit cod
es are: [0]
1536230971,,ui,error,--> amazon-ebs: Script exited with non-zero exit status: 16001. Allowed
exit codes are: [0]
1536230971,,ui,say,\n==> Builds finished but no artifacts were created.