New-DPMRecoveryNotification

Creates a notification object.

Syntax

New-DPMRecoveryNotification [-NotificationType] <NotificationType> [-NotificationIdList] <String[]>
 [<CommonParameters>]

Description

The New-DPMRecoveryNotification cmdlet creates a notification object that System Center 2016 - Data Protection Manager (DPM) uses for recovery. DPM currently supports only email notifications.

Examples

Example 1: Create a notification object

PS C:\>New-DPMRecoveryNotification -NotificationType email -NotificationIdList "Elisa.Daugherty@contoso.com"

This command creates an email notification for an event that DPM sends to Elisa.Daugherty@contoso.com.

Parameters

-NotificationIdList

Specifies an array of IDs to which the recovery sends notifications.

Type:String[]
Required:True
Position:2
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-NotificationType

Specifies the type of notification. Currently, the only valid value is email.

Type:NotificationType
Parameter Sets:Email
Required:True
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Notification