Exchange 2019 - Create a send connector with PowerShell

In Exchange, whether it is Exchange 2019 or 2013 or 2016 or 2010, you need a send connector to be able to route email to the internet etc.

You can create a send connector using the Exchange Admin Center (EAC) but what fun would that be when you can use PowerShell.

Here is a quick tip how to create a send connector using DNS with a source space of * using PowerShell:

  • New-SendConnector -Name "Internet Mail" -AddressSpaces * -Internet -SourceTransportServers Exchange-2019

http://everything-powershell.com/wp-content/uploads/2018/12/Send_connector.png

If you launch the EAC, you can see the above send connector that was created:

https://i0.wp.com/everything-powershell.com/wp-content/uploads/2018/12/send-connector2.png?fit=1024%2C541