Sometimes it may be required to set or update email notifications for ESE without using the user interface. This may be because desktop access is not available, or an automated update is required. In these cases, you can use the attached script to update the notifications in an automated fashion.
The script detects the ESE installation and updates the notification settings to those coded into the script. Note that the script should be run on each ESE machine that needs to be updated.
To use the script, download the attached file, edit the required values, and change the file extension to .ps1. The values used should be set from line 117 onwards, e.g.:
# set values to use
$to = "email@example.com; firstname.lastname@example.org"
$from = "email@example.com"
$subjectprefix = "Redstor Notification"
$smtpserver = "smtp.office365.com"
$smtpport = "587"
$username = "firstname.lastname@example.org"
$password = "mypass"
$secure = $true
$useAuth = $true