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
Default (Default)
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
Applicable: Security & Compliance
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 value is the default.
Parameter properties
Type: | Boolean |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.