CmdID / PowerShell / Cmdlets / Get
Get-UnifiedAuditLogRetentionPolicy
Use the Get-UnifiedAuditLogRetentionPolicy cmdlet to view the properties of the audit log retention policies in the Microsoft Defender portal or the Microsoft Purview compliance portal. Exchange PowerShell reference
From the Exchange PowerShell reference 4 parameters Its page in the reference
Parameters
-OperationThe Operations parameter filters the results by the operations that are specified in the policy.-RecordTypeThe RecordType parameter filters the results by the record types that are defined in the policy.-RetentionDurationThe RetentionDuration parameter filters the policy results by the retention duration specified in the policy.-UserIdThe UserIds parameter filters the policy results by the ID of the users who are specified in the policy.