O'Reilly logo

Microsoft Exchange 2010 PowerShell Cookbook by Mike Pfeiffer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 smtp.contoso.com ` -SmartHostAuthMechanism None ` -UseExternalDNSServersEnabled $false ` -SourceTransportServers ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required