
Using the Exchange Management Shell to Modify an Existing Receive Connector
You can use the Set-ReceiveConnector cmdlet to modify all available settings for an existing Receive connector. The Identity parameter specifies the Receive connector that you want to modify. The Identity parameter can be the GUID or the name of the Receive connector.
The values that you specify by using the Set-ReceiveConnector cmdlet replace the existing values that are configured on the Receive connector. To preserve any existing values in a multivalued parameter, you must specify the existing value and any new values that you want to add when you run the Set-ReceiveConnector cmdlet.
The following command is an example of how to use the Exchange Management Shell to set a 50 MB limit on message size on an existing Receive connector named "Connection from Contoso.com." The MaxMessageSize parameter is only one of many Receive connector settings that are available for use with the Set-ReceiveConnector cmdlet.

To use the Exchange Management Shell to set a 50 MB limit on message size on an existing Receive connector named "Connection from Contoso.com"
For more information about how to retrieve the identity of a Receive connector, see How to View the Configuration of a Receive Connector.
For detailed syntax and parameter information, see Set-ReceiveConnector.