The -on-error argument is for troubleshooting not something you should use
by default.
If you want to ignore error just ensures that your script returns 0. On a
posix system that would just be ending your script with exit 0. (I have no
idea how to do that in Powershell)
But it think you should
I have a Packer build job for a Windows 2016 image. The build and
configuration works well. The Processing works well. Sometimes I get
errors in the Post-Processing. Maybe the site I'm trying to upload to is
down or something else is wrong. I'd like to be able to tell Packer to
continue