Is there a way to have the policy execution status be "failed" if the script within the policy fails a test?
I have a policy that runs a script. At the end of the script I test to see if it was successful. How do I pass its failure to the policy so that it indicates the scripts success or not? I played with exit values on the script, but the policy still states it successful no matter if it passed the test or not.
Thanks, Gretchen