Hi Guys,
Kindly help why script fails as exit code 0 but its working.
Is this a Fixlet, a Task, or a Custom Action?
A Fixlet will show as Successful if the relevance on the fixlet changes to âFalseâ after the action runs. If the Relevance is incorrect, and not detecting that Sysmon was properly installed, you could have this case where the action ran as you expected, and returned a 0 exit code, but the Relevance still evaluates to True so BigFix tags it as a failed action.
what is the correct way to do it for fixlet to work.
Fixlet that will copy from cache location to local folder on user machine and then execute powershell script.
Whatâs in the Relevance tab of the fixlet?
Ok, so usually instead of just âtrueâ the relevance should be crafted to detect some condition, like, sysmon is not installed. Then running the installer makes that relevance evaluate to False, when sysmon is installed, so the system is âfixedâ.
Either change this to a Task, or set a custom Success Criteria on the Actions tab and change it to âall lines of the script execute successfullyâ.
Hi Jason,
Much appreciated. it worked thanks.
Happy to help, and welcome to BigFix!