Set-VBRProtectionGroupNotificationOptions
Short Description
Modifies notification options for protection groups.
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRProtectionGroupNotificationOptions -NotificationOptions <VBRProtectionGroupNotificationOptions> [-EnableAdditionalNotification] [-SendTime <TimeSpan>] [-AdditionalAddress <String[]>] [-UseNotificationOptions] [-NotificationSubject <String>] [-NotifyOnSuccess] [-NotifyOnWarning] [-NotifyOnError] [<CommonParameters>] |
Detailed Description
This cmdlet modifies notification options for protection groups.
Note |
|
To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values. The parameters that you omit will remain unchanged. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
AdditionalAddress |
Specifies an array of email addresses. Veeam Backup & Replication will send notifications to this email address. |
|
False |
Named |
False |
|
EnableAdditionalNotification |
Enables custom custom email notifications for the protection group. Default: Disabled.
Note: You must specify at least one email address to enable custom email notifications. Use the |
|
False |
Named |
False |
|
NotificationOptions |
Specifies the notification options that you want to modify.
Accepts the |
True |
Named |
False |
|
|
NotificationSubject |
Specifies the subject for the email notifications. |
|
False |
Named |
False |
|
NotifyOnError |
Defines that an email will be sent if the job finishes with error. |
|
False |
Named |
False |
|
NotifyOnSuccess |
Defines that an email will be sent if the job finishes successfully. |
|
False |
Named |
False |
|
NotifyOnWarning |
Defines that an email will be sent if the job finishes with warning. |
|
False |
Named |
False |
|
SendTime |
Specifies the time when notifications will be sent. |
|
False |
Named |
False |
|
UseNotificationOptions |
Enables custom notification setting. Use the following parameters to set the custom settings:
Default: Disabled. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
VBRProtectionGroupNotificationOptions
Examples
Modifying Additional Notifications for Protection Groups
This example shows how to modify additional notifications for protection groups.
|
$options = New-VBRProtectionGroupNotificationOptions -EnableAdditionalNotification -AdditionalAddress admin@domain.com -SendTime 05:00 Set-VBRProtectionGroupNotificationOptions -NotificationOptions $options -EnableAdditionalNotification -UseNotificationOptions -NotifyOnError |
Perform the following steps:
- Run the
New-VBRProtectionGroupNotificationOptionsCreates notification options for protection groups. cmdlet. Provide theEnableAdditionalNotificationparameter. Specify theAdditionalAddressandSendTimeparameter values. Save the result to the$optionsvariable. - Run the
Set-VBRProtectionGroupNotificationOptionscmdlet. Specify the following settings:- Set the
$optionsvariable as theNotificationOptionsparameter value. - Provide the
EnableAdditionalNotificationparameter. - Provide the
UseNotificationOptionsparameter. - Provide the
NotifyOnErrorparameter.
- Set the
Related Commands
New-VBRProtectionGroupNotificationOptionsCreates notification options for protection groups.