I'm running a powershell script from the Execute Process task in SSIS(2008). When something in my Powershell script fails I'd like the task to fail. I've done the following:
FailTaskIfReturnCodeIsNotSuccessValue = True
Success Value = 0
When I run powershell from a command line I get a return code of '8'. (Thats what I want for testing). But when I run it via the task, the task still completes successfully. I want it to fail unless the return code is 0.
Any suggestions?
Thanks!
MarkA