View a Transport Rule
Applies to: Exchange Server 2010
When managing transport rules, you may want to enumerate all rules or view the properties of a rule, such as the predicates and their values used to form conditions and exceptions, or the actions the rules apply.
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.
Looking for other management tasks related to transport rules? Check out Managing Transport Rules.
Prerequisites
One or more transport rules exist on a Hub Transport or an Edge Transport server.
What Do You Want to Do?
- Use the EMC to view transport rules
- Use the shell to view transport rules
Use the EMC to view transport rules
You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Transport rules" entry in the Messaging Policy and Compliance Permissions topic.
Note
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.
Use the EMC to view transport rules on a Hub Transport server
- Open the EMC on the Hub Transport server.
- In the console tree, click Organization Configuration, and then click Hub Transport.
- In the result pane, on the Transport Rules tab, right-click the rule that you want to view, and then click Edit Rule.
- Click Next to navigate through the Transport Rule wizard to view the configuration of the transport rule.
- Click Cancel when you're finished viewing the transport rule and haven't made any changes.
Use the EMC to view transport rules on an Edge Transport server
- Open the EMC on the Edge Transport server that contains the transport rule that you want to view.
- In the console tree, click Edge Transport.
- In the result pane, on the Transport Rules tab, right-click the rule that you want to view, and then click Edit Rule.
- Click Next to navigate through the Transport Rule wizard to view the configuration of the transport rule.
- Click Cancel when you're finished viewing the transport rule and haven't made any changes.
Use the Shell to view transport rules
You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Transport rules" entry in the Messaging Policy and Compliance Permissions topic.
In the 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, or you can view the detailed configuration of a single transport rule.
Use the Shell to view a summary list of all transport rules
You can view a summary list of all transport rules configured on all Hub Transport servers or an Edge Transport server by using the following command:
Get-Transport Rule
Use the Shell to view properties of a single transport rule
To view the detailed configuration of a transport rule in the Shell, you must pipe the output of the Get-TransportRule command to the Format-List command by using the following command:
Get-Transport Rule <transport rule GUID or 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.
Other Tasks
After you view transport rules, you may also want to: