Commands › Exchange Online
Set-RoutingGroupConnector
Modify the properties of an existing routing group connector between a Microsoft Exchange Server 2010 routing group and an Exchange Server 2003 routing group. You can also use this cmdlet to configure the maximum message size that can pass across a routing group connector.
Quick start script
# Set-RoutingGroupConnector — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org
# 2. Capture the current state first — you cannot roll back what you never recorded
$before = Get-RoutingGroupConnector
$before | Format-List
# 3. Make the change (dry run first)
Set-RoutingGroupConnector -Identity <RoutingGroupConnectorIdParameter> -WhatIf
Set-RoutingGroupConnector -Identity <RoutingGroupConnectorIdParameter>
# 4. Verify and diff
$after = Get-RoutingGroupConnector
Compare-Object ($before | Out-String) ($after | Out-String)
Syntax
Set-RoutingGroupConnector [-Identity] <RoutingGroupConnectorIdParameter>
[-Confirm]
[-Cost <Int32>]
[-DomainController <Fqdn>]
[-MaxMessageSize <Unlimited>]
[-Name <String>]
[-PublicFolderReferralsEnabled <Boolean>]
[-SourceTransportServers <MultiValuedProperty>]
[-TargetTransportServers <MultiValuedProperty>]
[-WhatIf]
[<CommonParameters>]
Parameters (10)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.