Get-RegulatoryComplianceUI
This cmdlet is available only in Security & Compliance PowerShell. For more information, see Security & Compliance PowerShell .
Use the Get-RegulatoryComplianceUI cmdlet to view the status of the regulatory compliance UI in the Microsoft Purview compliance portal (whether the preservation lock checkbox is displayed for retention policies and the immutable label checkbox is displayed for retention labels).
For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.
Get-RegulatoryComplianceUI []
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.
Get-RegulatoryComplianceUI
This example returns the status of regulatory compliance UI.