CmdID / PowerShell / Cmdlets / Get
Get-SafeAttachmentRule
Use the Get-SafeAttachmentRule cmdlet to view safe attachment rules in your cloud-based organization. Exchange PowerShell reference
From the Exchange PowerShell reference 2 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the safe attachment rule that you want to view.-StateThe State parameter filters the results by the state of the rule.