Set-RecordReviewNotificationTemplateConfig

此 cmdlet 仅在基于云的服务中可用。

使用 Set-RecordReviewNotificationTemplateConfig cmdlet 设置在项目需要审阅时发送的自定义记录审阅通知和提醒。

有关以下语法部分的参数设置的详细信息,请参阅 Exchange cmdlet 语法

语法

Default (默认值)

Set-RecordReviewNotificationTemplateConfig
    -IsCustomizedNotificationTemplate <Boolean>
    -IsCustomizedReminderTemplate <Boolean>
    [-CustomizedNotificationDataString <String>]
    [-CustomizedReminderDataString <String>]
    [<CommonParameters>]

说明

要在安全与合规中心 PowerShell 中使用此 cmdlet,必须分配权限。 有关详细信息,请参阅 Microsoft Purview 合规门户中的权限

示例

示例 1

Set-RecordReviewNotificationTemplateConfig -IsCustomizedNotificationTemplate $true -CustomizedNotificationDataString "This is the Contoso notification" -IsCustomizedReminderTemplate $true -CustomizedReminderDataString "This is the Contoso reminder"

此示例配置自定义的审阅通知文本和审阅提醒文本。

参数

-CustomizedNotificationDataString

适用:安全 & 合规性

CustomizedNotificationDataString 参数指定要使用的自定义审阅通知文本。 如果值中有空格,请使用双引号 (") 将此值括起来。

仅当 IsCustomizedNotificationTemplate 参数的值$true时,此参数的值才有意义。

参数属性

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

参数集

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

-CustomizedReminderDataString

适用:安全 & 合规性

CustomizedReminderDataString 参数指定要使用的自定义审阅提醒文本。 如果值中有空格,请使用双引号 (") 将此值括起来。

仅当 IsCustomizedReminderTemplate 参数的值$true时,此参数的值才有意义。

参数属性

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

参数集

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

-IsCustomizedNotificationTemplate

适用:安全 & 合规性

IsCustomizedNotificationTemplate 开关指定是否使用自定义审阅通知而不是系统默认通知。 有效值包含:

  • $true:使用自定义审阅通知。 使用 CustomizedNotificationDataString 参数指定通知文本。
  • $false:使用默认系统通知。 此值为默认值。

参数属性

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

参数集

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

-IsCustomizedReminderTemplate

适用:安全 & 合规性

IsCustomizedReminderTemplate 开关指定是否使用自定义审阅提醒而不是系统默认提醒:

  • $true:使用自定义审阅提醒。 使用 CustomizedReminderDataString 参数指定提醒文本。
  • $false:使用默认系统提醒。 此值为默认值。

参数属性

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

参数集

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

CommonParameters

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