
ZENworks® ESM 3.5 Administrator’s Manual 142
Advanced Scripting Rules
ESM includes an advanced rule scripting tool which gives administrators the ability to create
extremely flexible and complex rules and remediation actions.
To access this control, open the Integrity and Remediation Rules and click the Advanced
Scripting Rules icon in the policy tree on the left
Figure 97 : Advanced Scripting
The scripting tool uses either of the common scripting languages, VBScript or JScript, to create
rules which contain both a trigger (when to execute the rule) and the actual script (the logic of the
rule). The administrator is not restricted on the type of script to be run.
Advanced Scripting is implemented sequentially, along with other integrity rules, therefore a
long-running script will prevent other rules (including "timed" rules) from executing until that
script is complete.
To create a new advanced scripting rule:
Step 1: Select Advanced Scripting Rules from the components tree and click Add New
Step 2: Name the rule and provide a description
Step 3: Enter the triggering event(s)
• Times and Days to Run - up to five different times may be set for the script to
run. The run will occur weekly, on the selected day(s)