2.4 Tracing a Script’s Execution

To help you diagnose the problems with scripts that are not doing what you expect them to do, you can view trace messages during the execution of the script.

  1. Follow the steps in Testing an Unpublished Script to load an unpublished script.

    or

    Follow the steps in Testing a Published Scripting Policy to load a published Scripting policy.

  2. Click Trace to display the ZENworks Endpoint Security Agent Script Tracing dialog box.

  3. Select Include System Messages if you want to include output for all actions.

    If you do not include system messages, only messages generated by Action.Trace commands in the script are output. For more information about using Action.Trace commands, see void Action.Trace(string msg).

  4. Click Trigger to execute the script.