Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2
Topic Last Modified: 2011-03-19
You can use the Shell to modify a Foreign connector for Microsoft Exchange Server 2010. A Foreign connector can only be installed on a computer running Exchange 2010 that has the Hub Transport server role installed. A Foreign connector uses a Drop directory to send messages to a local messaging server that doesn't use SMTP as its primary transport mechanism.
Looking for other management tasks related to managing connectors? Check out Managing Connectors.
You must have an existing Foreign connector. For detailed steps about creating a Foreign connector, see Create a Foreign Connector.
Use the Shell to modify a Foreign connector
You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Foreign connectors" entry in the Transport Permissions topic.
You can use the Set-ForeignConnector cmdlet to modify all available settings for a Foreign connector.
|You can't modify the configuration of a Foreign connector by using the Exchange Management Console. To modify the configuration of a Foreign connector, you must use the Shell. For more information about how to use the Shell, see Exchange Management Shell.|
This example makes the following changes to the settings on the Foreign connector Contoso.com Foreign Connector:
- Change the maximum message size allowed on the connector to
- Add a new address space for the SMTP domain named Contoso.com
that has an address space cost of 5. You want to preserve the
existing X.400 address space o=MySite;p=MyOrg;a=contoso;c=us
that has an address space cost of 1, which is already configured on
Set-ForeignConnector "Contoso.com Foreign Connector" -AddressSpaces "X400:o=MySite;p=MyOrg;a=contoso;c=us;1","contoso.com;5" -MaxMessageSize 50MB
For detailed syntax and configuration information, see Set-ForeignConnector.