What are the options that are available in the RMAD console to configure single or multiple email alerts?
Option 1 - Alerts tab:
You can configure alert options in the "Alerts" tab on each Computer Collection:
As a prerequisite, you will need to have previously configured an SMTP or OAuth2 server in the "Email" tab on the RMAD Console Settings:
Option 2 - Scripting:
Each Computer Collection also has the option to Run Scripts for Advanced purposes that can be configured in the "Advanced" tab, in the example below a script using the "Get-RMADSession" cmdlet was configured to send the "status" of the last backup session after the backup completes. Use the "$collectionName" variable along with the "-DayCount" parameter set to "1" and the output result is every backup session for that collection on a day:
Note that the results of the "Get-RMADSession" cmdlet is an array, so it can be used into a variable and refer to each value individually:
You can then implement SMTP into the PowerShell script to generate an email alert by using the Send-MailMessage cmdlet:
https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/send-mailmessage
Note: Attached to this KB article is a PowerShell Script file (RMAD_ScriptingAlert_Template.ps1) that can be downloaded and used as a template.
© ALL RIGHTS RESERVED. Términos de uso Privacidad Cookie Preference Center