Managing connectors

Exchange 2010 uses both send and receive connectors to transmit and accept messages from other servers. These connectors can be managed from within the Exchange Management Console (EMC), but the addition, configuration, and removal 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.

How to do it...

  1. To create a Send connector, use the New-SendConnector cmdlet:
    New-SendConnector -Name Internet ` -Usage Internet ` -AddressSpaces 'SMTP:*;1' ` -IsScopedConnector $false ` -DNSRoutingEnabled $false ` -SmartHosts ` -SmartHostAuthMechanism None ` -UseExternalDNSServersEnabled $false ` -SourceTransportServers ...

Get Microsoft Exchange 2010 PowerShell Cookbook now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.