CmdID / PowerShell / Cmdlets / Get
Get-ComplianceCase
Use the Get-ComplianceCase cmdlet to different types of compliance cases in 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 compliance case that you want to view.-CaseTypeThe CaseType parameter specifies the type of compliance case that you want to view.-DomainControllerThis parameter is reserved for internal Microsoft use.-RecentOnlyThe RecentOnly switch returns a list of the most recently modified cases of the specified case type.-RoleGroupThe RoleGroup parameter returns a list of compliance cases that the specified role group is a member of.