Exchange 2016: Allow Automatic Forwarding to External Domain

You can use the Exchange Management Shell to configure the way emails are sent and received through remote domains. The following section describes how to configure Auto Forward using Windows PowerShell. In Exchange 2013 and Exchange 2016, the only way to see or change the current configuration is Exchange Management Shell (EMS).

To get the currently configured Remote Domains, use:

PS > Get-RemoteDomain

It will return a single domain named “Default”. So you can directly filter your results list using the following command:

PS > Get-RemoteDomain Default | fl AutoForwardEnabled

You can use the Set-RemoteDomain cmdlet to configure the properties of a remote domain. The following example allows automatic forwarding to the default remote domain named “Default”. This setting is disabled by default for security reason:

PS > Set-RemoteDomain –AutoForwardEnabled $true

Thanks to the previous command, users can now create Outlook rules to automatically forward email to their private mailbox.

Another setting named “AutoReplyEnabled” can be configured to allow automatic reply:
PS > Set-RemoteDomain -AutoReplyEnabled $true

 

Thanks for reading! You can follow me on Twitter @PrigentNico

About Nicolas 282 Articles
I work as an IT Production Manager, based in Paris (France) with a primary focus on Microsoft technologies. I have 10 years experience in administering Windows Servers. . I am a Microsoft MVP for Cloud & Datacenter Management. I also received the PowerShell Hero 2016 award by PowerShell.0rg. And finally, I am "MCSE: Cloud Platform and Infrastructure", "MCSA: Windows Servers", "Administering & Deploying SCCM", and CheckPoint CCSA certified.