Export (0) Print
Expand All

Get-TransportRulePredicate

Applies to: Exchange Server 2010

Topic Last Modified: 2011-03-19

Use the Get-TransportRulePredicate cmdlet to retrieve a list of all available rule predicates that can be used with the Transport Rules agent on a Hub Transport server or an Edge Transport server.


Get-TransportRulePredicate [-Name <String>]

Parameter Required Type Description

Name

Optional

System.String

The Name parameter specifies the predicate 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 Predicates.

The Get-TransportRulePredicate cmdlet displays a list of available rule predicates that you can use in transport rules that are part of the Transport Rules agent in Microsoft Exchange Server 2010.

The predicates available for use on a Hub Transport server and an Edge Transport server are slightly different. For a list of transport rule predicates included with the Get-TransportRulePredicate cmdlet, and to determine which predicates are available on each server role, see Transport Rule Predicates.

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.

Error Description

 

 

Exceptions Description

 

 

This example returns all available predicates for transport rules used with the Transport Rules agent.

Get-TransportRulePredicate

This example retrieves the single predicate SubjectMatches. The command is piped to the Format-List command to display detailed transport rule predicate information.

Get-TransportRulePredicate -Name SubjectMatches | Format-List

For more information about pipelining, see Pipelining. For more information about how to work with the output of a command, see Working with Command Output.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft