Share via


New-DPMRecoveryNotification

Creates a notification object.

Syntax

Default (Default)

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.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:2
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-NotificationType

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

Parameter properties

Type:NotificationType
Default value:None
Accepted values:Email
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

Notification