Set-RecordReviewNotificationTemplateConfig
This cmdlet is available only in the cloud-based service.
Use the Set-RecordReviewNotificationTemplateConfig cmdlet to set up the customized record review notification and reminder that's sent when an item requires review.
For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.
Syntax
Set-RecordReviewNotificationTemplateConfig
-IsCustomizedNotificationTemplate <Boolean>
-IsCustomizedReminderTemplate <Boolean>
[-CustomizedNotificationDataString <String>]
[-CustomizedReminderDataString <String>]
[<CommonParameters>]
Description
To use this cmdlet in Security & Compliance PowerShell, you need to be assigned permissions. For more information, see Permissions in the Microsoft Purview compliance portal.
Examples
Example 1
Set-RecordReviewNotificationTemplateConfig -IsCustomizedNotificationTemplate $true -CustomizedNotificationDataString "This is the Contoso notification" -IsCustomizedReminderTemplate $true -CustomizedReminderDataString "This is the Contoso reminder"
This example configures customized review notification text and review reminder text.
Parameters
-CustomizedNotificationDataString
The CustomizedNotificationDataString parameter specifies the customized review notification text to use. If the value contains spaces, enclose the value in quotation marks (").
The value of this parameter is meaningful only when the value of the IsCustomizedNotificationTemplate parameter is $true.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Security & Compliance |
-CustomizedReminderDataString
The CustomizedReminderDataString parameter specifies the customized review reminder text to use. If the value contains spaces, enclose the value in quotation marks (").
The value of this parameter is meaningful only when the value of the IsCustomizedReminderTemplate parameter is $true.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Security & Compliance |
-IsCustomizedNotificationTemplate
The IsCustomizedNotificationTemplate switch specifies whether to use a customized review notification instead of the system default notification. Valid values are:
- $true: Use a customized review notification. You specify the notification text using the CustomizedNotificationDataString parameter.
- $false: Use the default system notification. This is the default value.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Security & Compliance |
-IsCustomizedReminderTemplate
The IsCustomizedReminderTemplate switch specifies whether to use a customized review reminder instead of the system default reminder:
- $true: Use a customized review reminder. You specify the reminder text using the CustomizedReminderDataString parameter.
- $false: Use the default system reminder. This is the default value.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Security & Compliance |