共用方式為


Set-RecordReviewNotificationTemplateConfig

此指令程式只能在雲端式服務中使用。

使用 Set-RecordReviewNotificationTemplateConfig Cmdlet 來設定自訂記錄檢閱通知,以及專案需要檢閱時所傳送的提醒。

如需下方<語法>一節中參數集的詳細資訊,請參閱 Exchange Cmdlet 語法

語法

Default (預設值)

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

Description

若要在安全性與合規性 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