Set-VBRJobAdvancedNotificationOptions
Short Description
Customizes job notification settings.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
Set-VBRJobAdvancedNotificationOptions -Job <CBackupJob[]> [-SnmpNotification <bool>] [-EmailNotificationAddresses <string>] [-EmailNotification <bool>] [<CommonParameters>] |
Related Commands
Detailed Description
This cmdlet sets notification options for the selected job.
You can set SNMP and email notifications on job run results.
|
Email notification can be configured for jobs only in case that the global email notifications are enabled. Note that you cannot enable the global email notifications with Veeam PowerShell. Read more about job notification settings in Veeam Backup & Replication user guide at http://www.veeam.com/vmware-backup/help-center. |
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Job | Specifies the job you want to edit. You can assign multiple jobs to this object. | True | Named | True (ByValue, | False |
Snmp | If set to TRUE, the SNMP notification will be sent. You need to have the SNMP notification pre-configured. | False | Named | False | False |
Email | If set to TRUE, the notifications will be sent to email address(es). | False | Named | False | False |
Email | Specifies the email address(es) to send the email notification. You can specify multiple addresses separated by semicolon. | False | Named | False | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
Example 1
This command sets SNMP and email notifications for the backup job named "Backup Job 01". The job object is obtained with Get-VBRJob and piped down.
PS C:\PS> Get-VBRJob -Name "Backup Job 01" | Set-VBRJobAdvancedNotificationOptions -SnmpNotification -EmailNotification -EmailNotificationAddresses "administrator@veeam.com" |
Example 2
This command turns off the previously set email notification for the backup job named "Backup Job 01". The job object is obtained with Get-VBRJob and piped down.