Summary: In some cases, it may be useful to know the service machine name where the automation rule was run. This article explains how to include the service machine name into an automation rule output email.
Applies to: Cayosoft Administrator 6.0.0 or later
To include the service machine name, where the automation rule was run, into an automation rule output email, you should perform the following steps:
- In Administrator Console navigate to the automation rule in which you want to add the information about where it was run.
- In rule Output section change Rule Output Type. For example, select Send as E-mail with attached report.
- Add this script into Subject field: $RuleName Run on $($env:COMPUTERNAME)
Note: For Fully Qualified Domain Name use this script: $($env:COMPUTERNAME + "." + $env:USERDNSDOMAIN.ToLower())
- Click Save Changes
For more details, please see Customizing an automation rule or web action output email article.