Set-RegulatoryComplianceUI

This cmdlet is available only in Security & Compliance PowerShell. For more information, see Security & Compliance PowerShell .

Use the Set-RegulatoryComplianceUI cmdlet to display the UI option in retention label settings to mark content as a regulatory record.

For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.

Syntax

Set-RegulatoryComplianceUI
   -Enabled <Boolean>
   [<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-RegulatoryComplianceUI -Enabled $true

This example displays the UI option in retention label settings to mark content as a regulatory record.

Parameters

-Enabled

The Enabled parameter specifies whether to show or hide the UI option in retention label settings to mark content as a regulatory record. Valid values are:

$true: The option to mark content as a regulatory record is visible in the UI for retention label settings.

$false: The option to mark content as a regulatory record is not visible in the UI for retention label settings. 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