3 Replies Latest reply on Apr 5, 2019 7:54 AM by James Morse

    TSM error handling in Powershell

    Lee Forst

      We are in the process of testing our migration from 10.5.3 to 2018.2.3.  In part of doing this, we are rewritting our backup\cleanup script for Tableau to use TSM.  I found a basic example Powershell script for doing this.  However, one of the problems I have with the script is there is no kind of error handling in it.  As I researched more and more, I found there just doesn't seem to be a good way to handle errors that come back from TSM.  Has anyone successfully done this?  I need to be able to raise the error up to Windows and I would like to send myself and email in the event an error occurs.


      Thanks in advance.