New-RecoveryNotification

New-RecoveryNotification

Builds the notification object used for recovery.

Syntax

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

Detailed Description

The New-RecoveryNotification cmdlet builds the notification object used for recovery.

Parameters

-NotificationIdList

The list of IDs to which notifications must be sent. Currently DPM only supports e-mail notifications.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

1

-NotificationType

Indicates the type of notification. Currently DPM only supports e-mail notifications.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

0

-CommonParameter

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

Input and Return Types

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

Notes

  • For more information, type "Get-Help New-RecoveryNotification -detailed".
    For technical information, type "Get-Help New-RecoveryNotification -full".

    Additionally, any updated information about the cmdlet will be available at https://go.microsoft.com/fwlink/?LinkId=95130.

Examples

EXAMPLE 1

New-RecoveryNotification -NotificationType email -NotificationIdList mailme@mytestingdomain.com.

This command creates a new email notification for an event.