Configuring notification scripts

To configure notification scripts:

  1. On the Notifications tab, click Tasks > New (or click the plus-sign icon) in the Notifications scripts section.

  2. In the dialog that open, specify the following options:

    • Script name: Enter a friendly name for the script.

    • Command: The command to execute.

    • Arguments: Command line arguments to pass to the command. An argument can be one of the predefined variables, which Parallels RAS will automatically replace with an actual value. See the Command Line Variables table below (the ID column contains the values that can be used here).

    • Initial directory: The full path to the current directory for the process. The string can also specify a UNC path.

    • User name, Password: These are optional fields that you can specify if you would like to execute the command under a specific user account.

  3. When done, click OK to save the notification script item.

To modify a notification script, right-click it and choose Properties.

To delete a script, right-click and choose Delete. Please note that if a script is used by a notification handler, you will see a warning message. If you choose to delete it anyway, the script association will be removed from all notification handlers where it is used and all affected handlers will be automatically configured to send an email alert.

Command line variables

The following table lists command line variables that you can use as arguments when executing a script (see the Arguments option description above):

Notification types

The following table lists supported notification types (the ID column represents values that are passed to the ($NOTIFICATION-TYPE) command line variable):

Last updated

© 2024 Parallels International GmbH. All rights reserved.