Office 365 – Forwarding SMTP Address CLI

Last updated on March 26th, 2018 at 09:48 am

Check
Get-Mailbox | select UserPrincipalName,ForwardingSmtpAddress,DeliverToMailboxAndForward
Disable
Set-Mailbox –Identity  “ [email protected]”  -ForwardingAddress  $null
Add
Set-Mailbox -Identity “[email protected]” -DeliverToMailboxAndForward $true -ForwardingSMTPAddress [email protected]