Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

How to View a Transport Rule

 

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

Topic Last Modified: 2007-02-08

This topic explains how to use the Exchange Management Console or the Exchange Management Shell to view an existing transport rule on a computer that has the Microsoft Exchange Server 2007 Hub Transport server role or the Edge Transport server role installed.

For more information about the Transport Rules agent, see Overview of Transport Rules.

To perform the following procedures, the account you use must be delegated the following:

  • Exchange View-Only Administrator role

To perform the following procedures 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 2007, see Permission Considerations.

noteNote:
When you view transport rules on a Hub Transport server, you can view any transport rule that is configured in the Exchange organization, except transport rules that are configured on Edge Transport servers.
If you view transport rules on an Edge Transport server, you can only view the transport rules on the local computer. To view transport rules on another Edge Transport server, you must open the Exchange Management Console on that computer.
noteNote:
The procedure for viewing a transport rule on a Hub Transport server is slightly different from the procedure for viewing a transport rule on an Edge Transport server.
  1. Open the Exchange Management Console on the Hub Transport server.

  2. In the console tree, click Organization Configuration, and then click Hub Transport.

  3. In the result pane, on the Transport Rules tab, right-click the rule that you want to view, and then click Edit Rule.

  4. Click Next to navigate through the Transport Rule wizard to view the configuration of the transport rule.

  5. Click Cancel when you are finished viewing the transport rule and have not made any changes.

  1. Open the Exchange Management Console on the Edge Transport server that contains the transport rule that you want to view.

  2. In the console tree, click Edge Transport.

  3. In the result pane, on the Transport Rules tab, right-click the rule that you want to view, and then click Edit Rule.

  4. Click Next to navigate through the Transport Rule wizard to view the configuration of the transport rule.

  5. Click Cancel when you are finished viewing the transport rule and have not made any changes.

In the Exchange Management Shell, you can view a summary list of all transport rules that are configured on all Hub Transport servers or on the local Edge Transport server by using the following command syntax:

Get-TransportRule 

To view the detailed configuration of a transport rule in the Exchange Management Shell, you must pipe the output of the Get-TransportRule command to the Format-List command by using the following command syntax:

Get-TransportRule <GUID or transport rule name> | Format-List

For more information about pipelining, see Pipelining.

For more information about how to work with the information that is returned by a command, see Working with Command Output.

  • Run the following command:

    Get-TransportRule "Messages sent to the Sales group" | Format-List
    

You can also view the list of conditions, exceptions, and actions that are configured on a transport rule and their values by assigning the transport rule to a variable. Use the following command syntax:

$TransportRule = Get-TransportRule <GUID or transport rule name>

You can then access the conditions, exceptions, or actions that are configured on the transport rule, and view the values that are configured on each condition, exception, or action.

  1. Run the following command to assign the transport rule to a variable:

    $TransportRule = Get-TransportRule "Test Rule"
    
  2. Run the following command to display the configured conditions and their values:

    $TransportRule.Conditions
    
  3. Run the following command to display the configured exceptions and their values:

    $TransportRule.Exceptions
    
  4. Run the following command to display the configured actions and their values:

    $TransportRule.Actions
    
noteNote:
You can view single conditions, exceptions, or actions by specifying the array index number of a condition, exception, or action.
For more information about array index numbers, see Arrays.
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.