Share via


Remove a Transport Rule

 

Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2

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

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.

Remove a transport rule on a Hub Transport server

  1. Open the EMC on the Hub Transport server.

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

  3. On the Transport Rules tab, right-click the rule that you want to remove, and then click Remove.

  4. Click Yes if you're sure that you want to remove the transport rule.

Remove a transport rule on an Edge Transport server

  1. Open the EMC on the Edge Transport server that contains the transport rule that you want to remove.

  2. In the console tree, click Edge Transport.

  3. On the Transport Rules tab, right-click the rule that you want to remove, and then click Remove.

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

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.

When using the Shell, the process to remove a transport rule from the Hub Transport and the Edge Transport server is identical.

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

  2. 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:

For More Information

Understanding Transport Rules

Transport Rule Predicates

Transport Rule Actions

Managing Transport Rules

Transport Rules: End-to-End Tasks

 © 2010 Microsoft Corporation. All rights reserved.