New-DPMRecoveryNotification

New-DPMRecoveryNotification

Creates a notification object.

Syntax

Parameter Set: Default
New-DPMRecoveryNotification [-NotificationType] <NotificationType> [-NotificationIdList] <String[]> [ <CommonParameters>]

Detailed Description

The New-DPMRecoveryNotification cmdlet creates a notification object that System Center 2012 – Data Protection Manager (DPM) uses for recovery.

Parameters

-NotificationIdList<String[]>

Specifies an array of IDs to which the recovery sends notifications. DPM currently supports only email notifications.

Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-NotificationType<NotificationType>

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

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • Notification

Notes

  • For more information, type "Get-Help New-DPMRecoveryNotification -detailed".

Examples

Example 1: Create a notification object

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

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

New-DPMRecoveryOption