New-DPMRecoveryNotification

创建通知对象。

语法

Default (默认值)

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

说明

New-DPMRecoveryNotification cmdlet 创建 System Center - Data Protection Manager (DPM) 用于恢复的通知对象。 DPM 当前仅支持电子邮件通知。

示例

示例 1:创建通知对象

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

此命令为 DPM 发送到 Elisa.Daugherty@contoso.com的事件创建电子邮件通知。

参数

-NotificationIdList

指定恢复向其发送通知的 ID 数组。

参数属性

类型:

String[]

默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:2
必需:True
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-NotificationType

指定通知的类型。 目前,唯一有效的值为电子邮件。

参数属性

类型:NotificationType
默认值:None
接受的值:Email
支持通配符:False
不显示:False

参数集

(All)
Position:1
必需:True
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

CommonParameters

此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters

输出

Notification