Applies to: Exchange Server 2013, Exchange Online Protection, Exchange Online
Topic Last Modified: 2014-03-07
This cmdlet is available in on-premises Exchange Server 2013 and in the cloud-based service. Some parameters and settings may be exclusive to one environment or the other.
Use the Get-TransportRulePredicate cmdlet to retrieve a list of all available rule conditions (predicates) that can be used when creating a transport rule.
For information about the parameter sets in the Syntax section below, see Syntax.
This example returns all available conditions for transport rules.
This example retrieves the single condition
SubjectMatches. The command is piped to the Format-List command to display detailed transport rule condition information.
Get-TransportRulePredicate -Name SubjectMatches | Format-List
The Get-TransportRulePredicate cmdlet displays a list of available rule conditions that you can use in transport rules.
You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "Transport rules" entry in the Messaging policy and compliance permissions topic.
The Name parameter specifies the condition to display. For a list of values that can be used with this parameter on the server role that you're administering, see Transport rule conditions (predicates).
To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn’t accept input data.