Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Get-TransportRulePredicate

 

Applies to: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1

Topic Last Modified: 2007-06-28

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 computer that has the Hub Transport server role or the Edge Transport server role installed.


Get-TransportRulePredicate [-Name <String>]

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 2007.

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

To run the Get-TransportRulePredicate cmdlet, the account you use must be delegated the following:

  • Exchange View-Only Administrator role

To run the Get-TransportRulePredicate cmdlet on a computer that has the Edge Transport server role installed, you must log on by using an account that is a member of the local Administrators group on that computer.

For more information about permissions, delegating roles, and the rights that are required to administer Exchange Server 2007, see Permission Considerations.

 

Parameter Required Type Description

Name

Optional

System.String

Use this parameter to specify the predicate to display. See Transport Rule Predicates for a list of values that can be used with this parameter on the server role that you are administering.

 

Error Description

 

 

 

Exceptions Description

 

 

The first example shows how to use the Get-TransportRulePredicate command to return all available predicates for transport rules that are used with the Transport Rules agent.

The second example shows how to retrieve a single predicate. The command is piped to the Format-List command to display detailed transport rule predicate information.

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.

Get-TransportRulePredicate
Get-TransportRulePredicate -Name SubjectMatches | Format-List
To ensure that you are reading the most up-to-date information and to find additional Exchange Server 2007 documentation, visit the Exchange Server TechCenter.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.