Executing Local Commands

You can execute a user-defined local command on selected events by running a user-defined script. The script will be run one time for each event that is selected.

The event's attributes are passed on to the script as environment variables. The name of the attribute environment variables can be referenced by using the non-formatted attribute name. The full list of non-formatted attribute names is contained in the SLOTS environment variable, which is passed on to the script.

Perform the following steps to execute a local command:

  1. From the Event Viewer, click Selected  >  Local Command from the pull-down menu. A file browser dialog box titled Run is displayed. You may optionally right-click in the event table in the Event Viewer dialog box and select Local Command.
  2. From the Run dialog box, use the file browser to browse to the location of the script to execute.
  3. Click Run to run the script.

Assumptions and Prerequisites:

See Also