Windows PowerShell Exit Codes, SSIS and the Environment.Exit Method

I was recently compiling a PowerShell script which would be integrated into a SSIS package, depending on the status of the script invocation this would return custom error codes to determine success or failure as part of the package. By default, I would generally use Try/Catch statements and provide and exit code. However, when invoking … More Windows PowerShell Exit Codes, SSIS and the Environment.Exit Method