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 - 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[]
Position:2
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-NotificationType

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

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

Outputs

Notification