PowerShell to Connect to Office 365 and Change Forwarding Which mailboxes should the mail be delivered to: Then choose if you would like the mail delivered only to the forwarding address, or to the forwarding address and the original mailbox.Fill in the form below and the correct PowerShell code will be created for you.Use PowerShell to forward email to an external address However, if it is set to $false, it will deliver mail only to the forwarding address. If set to $true then DeliverToMailboxAndForward parameter of the Set-Mailxbox cmdlet will deliver mail to both the forwarding address and the original recipient. For example: Set-Mailbox -Identity -DeliverToMailboxAndForward $true -ForwardingSMTPAddress The DeliverToMailboxAndForward Parameter However, you can do this with PowerShell, and here is how to do it using the Set-Mailbox cmdlet. But it does not allow you to forward email for a user to an external address which has not been created in your tenant. The Office 365 Admin Portal allows you to forward a users email to another mail contact easily.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |