View Single Post
  #2  
Old 09-25-2015, 12:08 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,749
You need to write your PowerShell script in such a way that it returns a non-zero exit code on errors.

https://www.google.com/search?q=powershell+exit+code
Reply With Quote