CmdID / PowerShell / Cmdlets / Remove
Remove-RetentionComplianceRule
Use the Remove-RetentionComplianceRule cmdlet to remove retention rules from the Microsoft Purview compliance portal. Exchange PowerShell reference
From the Exchange PowerShell reference 5 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the retention rule to remove.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-ForceDeletionThe ForceDeletion switch forces the removal of the rule.-PriorityCleanupThe PriorityCleanup switch specifies whether to remove the rule associated with a Priority cleanup policy.-WhatIf, -wiThe WhatIf switch doesn't work in Security & Compliance PowerShell.