Custom Script return code to update Configuration Status

Custom Script return code to update Configuration Status

When I deploy a Custom Script to run on start-up can I return a success/fail code that Desktop Central will use to update the status of Configuration? For instance, the script I have deployed runs on start-up, the Configuration status shows Sucess, but the script encountered errors during the process and I want to show failure as the status.

                New to ADSelfService Plus?