Share via


Uninstall a Transport Agent

Applies to: Exchange Server 2010

You can use the Shell to uninstall an existing transport agent on a computer that has the Microsoft Exchange Server 2010 Hub Transport server role or Edge Transport server role installed. You can uninstall transport agents configured on the local computer. When the transport agent is uninstalled, Exchange unregisters the DLL files used with the agent. Exchange doesn't remove any files, registry keys, or other objects added by the installation of the transport agent. For more information about transport agents, see Understanding Transport Agents.

Looking for other management tasks related to transport agents? Check out Managing Transport Agents.

Use the Shell to uninstall a transport agent

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Transport agents" entry in the Transport Permissions topic.

Note

You can't use the EMC to uninstall a transport agent.

Use the following syntax to uninstall an existing transport agent.

Uninstall-TransportAgent <TransportAgentID>

This example uninstalls an existing transport agent.

Uninstall-TransportAgent "Antivirus for Exchange"

For detailed syntax and parameter information, see Uninstall-TransportAgent.