I have just finished the shell i was writing to copy modify and upload images. Very satisfying, and i have set the process to be started through an ssis package as it is a simple and effective way and the notification feature on fail and success is critical.
Is there a way though to pass any errors in the shell itself pass to a function so i am notified in the event of a runtime error in the script.
-Erroraction throw values and i was wondering if there was a way to use this with an if statement to trigger the function.