CmdID / PowerShell / Cmdlets / Get
Get-TransportRule
Use the Get-TransportRule cmdlet to view transport rules (mail flow rules) in your organization. Exchange PowerShell reference
From the Exchange PowerShell reference 7 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the rule that you want to view.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-StateThe State parameter specifies filters the results by enabled or disabled rules.-DlpPolicyThe DlpPolicy parameter filters the results by the name of the specified data loss prevention (DLP) policy.-ExcludeConditionActionDetailsThe ExcludeConditionActionDetails parameter specifies whether to hide specific details from the results.-FilterThe Filter parameter filters the results by using an OPATH.-ResultSizeThe ResultSize parameter specifies the maximum number of results to return.