CmdID / PowerShell / Cmdlets / Remove
Remove-UnifiedAuditLogRetentionPolicy
Use the Remove-UnifiedAuditLogRetentionPolicy cmdlet to delete audit log retention policies from the Microsoft Defender portal or 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 audit log retention policy that you want to delete.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DomainControllerThis parameter is reserved for internal Microsoft use.-ForceDeletionThe ForceDeletion switch forces the removal of the policy.-WhatIf, -wiThe WhatIf switch doesn't work in Security & Compliance PowerShell.