Thread
:
Stopping on PowerShell script error
View Single Post
#
2
09-25-2015, 12:08 PM
kinook
Administrator
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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
kinook
View Public Profile
Visit kinook's homepage!
Find all posts by kinook