Remove a Transport Rule
Applies to: Exchange Server 2010
Transport rules are used to apply messaging policies to messages routed by a Hub Transport or an Edge Transport server. Rules can be disabled if they aren't immediately required. Rules that are no longer required can be removed permanently using the following procedures.
Important
If you remove a transport rule from a Hub Transport server, the rule is removed from Active Directory. It's no longer available to any Hub Transport server in the Exchange 2010 organization. Edge Transport servers store transport rules in the Active Directory Lightweight Directory Services (AD LDS) instance locally, and the transport rules are managed on the Edge Transport server.
Prerequisites
A transport rule has been created on a Hub Transport server or an Edge Transport server.
What Do You Want to Do?
- Use the EMC to remove a transport rule
- Use the Shell to remove a transport rule
Use the EMC to remove a transport rule
- Organization Management
- Organization Management - Tenant
Remove a transport rule 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.
- On the Transport Rules tab, right-click the rule that you want to remove, and then click Remove.
- Click Yes if you're sure that you want to remove the transport rule.
Remove a transport rule on an Edge Transport server
Open the EMC on the Edge Transport server that contains the transport rule that you want to remove.
In the console tree, click Edge Transport.
On the Transport Rules tab, right-click the rule that you want to remove, and then click Remove.
Click Yes if you're sure that you want to remove the transport rule. The transport rule that you select is removed from the Active Directory Lightweight Directory Services instance on that Edge Transport server.
Important
If you have more than one Edge Transport server deployed, you may need to remove the rule on all of them.
Use the Shell to remove a transport rule
- Organization Management
- Organization Management - Tenant
When using the Shell, the process to remove a transport rule from the Hub Transport and the Edge Transport server is identical.
Run the following command to see how transport rules will be affected without making any modifications:
Remove-TransportRule "Messages From DG-Sales" -WhatIf
Note
Use the WhatIf parameter to verify that the results of the operation are what you expect. For more information about the WhatIf parameter, see WhatIf, Confirm, and ValidateOnly Switches.
Run the following command to remove the transport rule:
Remove-TransportRule "Messages From DG-Sales"
Other Tasks
After you remove a transport rule, you may also want to: