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
Parameters
-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.