Managing connectors
Exchange 2013 uses both send and receive connectors to transmit and accept messages from other servers. These connectors can be managed from within the Exchange Admin Center (EAC), but the addition, configuration, and removal of these connectors can also be completely managed from the Exchange Management Shell. In this recipe, we'll take a look at the various cmdlets that can be used to manage send and receive connectors. The receive connectors are maintained at the server level while the send connectors are being maintained at organization level.
How to do it...
To create a send connector, use the
New-SendConnector
cmdlet:New-SendConnector -Name Internet ` -Usage Internet ` -AddressSpaces 'SMTP:*;1' ` -IsScopedConnector $false ` -DNSRoutingEnabled $false ` -SmartHosts smtp.contoso.com ` -SmartHostAuthMechanism None ` -UseExternalDNSServersEnabled $false ` -SourceTransportServers mb1
Receive connectors can be created on each exchange server using the
New-ReceiveConnector...