How to find the existing email forwarding configured on mail flow settings

Due to various reasons, exchange administrator may configure the mail forwarding option on a mailbox from the “Mail flow” settings.

It’s not easy to find the forwarding later by checking the mailbox one by one. But by using the below script we can easily find any existing forwarding on all the mail boxes.

Get-Mailbox -Filter {ForwardingAddress -ne $Null} |Select Alias, ForwardingAddress | Export-Csv -NoType -encoding "unicode" C:\Reports\MailboxesForwardTo.csv

Execute the above command from exchange power shell. It exports the list to the path provided. Above case it export to C:\Reports\MailboxesForwardTo.csv

Related posts

Delete an email with a specific subject from all mailboxes

by Jimmy
8 years ago

SQL Query to get the deadlocks

by Jimmy
14 years ago

Recover Mail Boxes From non-reparable exchange edb databases

by Jimmy
6 years ago
Exit mobile version