CmdID / PowerShell / Cmdlets / Get
Get-DlpComplianceRule
Use the Get-DlpComplianceRule to view data loss prevention (DLP) rules in the Microsoft Purview compliance portal. Exchange PowerShell reference
From the Exchange PowerShell reference 4 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the DLP rule that you want to view.-DisplayName-IncludeExecutionRuleGuids-PolicyThe Policy parameter specifies the DLP policy that contains the rules.