Book Image

Microsoft Exchange Server Powershell Cookbook (Update)

Book Image

Microsoft Exchange Server Powershell Cookbook (Update)

Overview of this book

Table of Contents (21 chapters)
Microsoft Exchange Server PowerShell Cookbook Third Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

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 an organization level.

How to do it...

Let's see how to create the send and receive connectors using the following steps:

  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 mb1...