Set Send Connector operation
The Set Send Connector process modifies a Send connector on a computer that has the Hub Transport server role or the Edge Transport server role installed.
The adapter request parameters may differ according to the Microsoft Exchange Server version.
For the list of all supported parameters, refer to the Set-SendConnector cmdlet in the Microsoft Exchange documentation specific to your version.
The following figure shows a sample adapter request for the Set Send Connector operation for Microsoft Exchange version 2016:
<microsoft-exchange-request>
<command>
<command-name>Set-SendConnector</command-name>
<format-option/>
<verbose-logging/>
<parameters>
<parameter>
<name>Identity</name>
<value>testSendConnector</value>
</parameter>
<parameter>
<name>AddressSpaces</name>
<value>bmcdev.com</value>
</parameter>
<parameter>
<name>Name</name>
<value>testSendConnectorUP</value>
</parameter>
<parameter>
<name>MaxMessageSize</name>
<value>30MB</value>
</parameter>
</parameters>
</command>
</microsoft-exchange-request>
<command>
<command-name>Set-SendConnector</command-name>
<format-option/>
<verbose-logging/>
<parameters>
<parameter>
<name>Identity</name>
<value>testSendConnector</value>
</parameter>
<parameter>
<name>AddressSpaces</name>
<value>bmcdev.com</value>
</parameter>
<parameter>
<name>Name</name>
<value>testSendConnectorUP</value>
</parameter>
<parameter>
<name>MaxMessageSize</name>
<value>30MB</value>
</parameter>
</parameters>
</command>
</microsoft-exchange-request>
The following figure shows the response for the adapter request:
<microsoft-exchange-response>
<metadata>
<status>success</status>
</metadata>
<targets-output>
<target-output host="clm-pun-020413.bmc.com">
<metadata>
<os-id>Windows Server 2008</os-id>
<os-version>6.3.9600</os-version>
<status>success</status>
</metadata>
<commands-output>
<command-output>
<metadata>
<command>Set-SendConnector -Identity:testSendConnector -AddressSpaces:bmcdev.com -Name:testSendConnectorUP -MaxMessageSize:30MB -confirm:$false</command>
<line-count>5</line-count>
<execution-milliseconds>43087</execution-milliseconds>
<exit-code>0</exit-code>
<status>success</status>
</metadata>
<output>
<line index="1">Attempting to connect to remote host...</line>
<line index="2">Initialising rctrlx server component...</line>
<line index="3">Executing remote application: cmd /c "echo . | powershell -PSConsoleFile "C:\Program Files\Microsoft\Exchange Server\V15\Bin\exshell.psc1" -NonInteractive -Command Set-SendConnector -Identity:testSendConnector -AddressSpaces:bmcdev.com -Name:testSendConnectorUP -MaxMessageSize:30MB -confirm:$false "</line>
<line index="4">Stdout:</line>
<line index="5">Remote application exited with code: 0</line>
</output>
</command-output>
</commands-output>
</target-output>
</targets-output>
</microsoft-exchange-response>]
<metadata>
<status>success</status>
</metadata>
<targets-output>
<target-output host="clm-pun-020413.bmc.com">
<metadata>
<os-id>Windows Server 2008</os-id>
<os-version>6.3.9600</os-version>
<status>success</status>
</metadata>
<commands-output>
<command-output>
<metadata>
<command>Set-SendConnector -Identity:testSendConnector -AddressSpaces:bmcdev.com -Name:testSendConnectorUP -MaxMessageSize:30MB -confirm:$false</command>
<line-count>5</line-count>
<execution-milliseconds>43087</execution-milliseconds>
<exit-code>0</exit-code>
<status>success</status>
</metadata>
<output>
<line index="1">Attempting to connect to remote host...</line>
<line index="2">Initialising rctrlx server component...</line>
<line index="3">Executing remote application: cmd /c "echo . | powershell -PSConsoleFile "C:\Program Files\Microsoft\Exchange Server\V15\Bin\exshell.psc1" -NonInteractive -Command Set-SendConnector -Identity:testSendConnector -AddressSpaces:bmcdev.com -Name:testSendConnectorUP -MaxMessageSize:30MB -confirm:$false "</line>
<line index="4">Stdout:</line>
<line index="5">Remote application exited with code: 0</line>
</output>
</command-output>
</commands-output>
</target-output>
</targets-output>
</microsoft-exchange-response>]
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*