CmdID

CmdID / PowerShell / Cmdlets / Remove

Remove-RetentionCompliancePolicy

Use the Remove-RetentionCompliancePolicy cmdlet to remove retention policies from the Microsoft Purview compliance portal. Exchange PowerShell reference

From the Exchange PowerShell reference 5 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

5 in the Exchange PowerShell reference
-IdentityThe Identity parameter specifies the retention policy that you want to remove.
-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.
-ForceDeletionThe ForceDeletion switch forces the removal of the policy.
-PriorityCleanupThe PriorityCleanup switch specifies whether to remove a Priority cleanup policy.
-WhatIf, -wiThe WhatIf switch doesn't work in Security & Compliance PowerShell.