Applies to: Exchange Server 2007
Topic Last Modified: 2007-06-11

Use the Uninstall-TransportAgent cmdlet to unregister a transport agent that is no longer needed on a computer that has the Edge Transport server role or the Hub Transport server role installed in a Microsoft Exchange Server 2007 organization.

Syntax

Uninstall-TransportAgent -Identity <String> [-DomainController <Fqdn>]

Parameters

Parameter Required Type Description

Identity

Required

System.String

Use this parameter to specify the display name of the transport agent to be uninstalled. The length of the name cannot exceed 64 characters.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

To specify the fully qualified domain name (FQDN) of the domain controller that writes this configuration change to the Active Directory directory service, include the DomainController parameter on the command. The DomainController parameter is not supported on computers that run the Edge Transport server role. The Edge Transport server role reads from and writes to only to the local ADAM instance.

Detailed Description

The Uninstall-TransportAgent cmdlet is used to unregister a transport agent that is no longer needed on an Edge Transport server or a Hub Transport server.

To run the Uninstall-TransportAgent cmdlet, the account you use must be delegated the following:

  • Exchange Server Administrator role and local Administrators group for the target server

To run the Uninstall-TransportAgent 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 Microsoft Exchange Server 2007, see Permission Considerations.

Input Types

Return Types

Errors

Error Description

 

Exceptions

Exceptions Description

 

Example

The following example shows how a fictitious antivirus application would be uninstalled from an Edge Transport server or a Hub Transport server.

Copy Code
Uninstall-TransportAgent -Identity "Antivirus for Exchange"