Go Premium for a chance to win a PS4. Enter to Win


Exchange mail forwards

Posted on 2011-03-14
Medium Priority
Last Modified: 2013-11-22
is there a tool or script that can generate an export form AD of all the email accounts i have that are forwarding to another user, and who they are forwarding too?

I have a few hundred that are special accounts like president@ourdomain.com but they just forward to another user's mailbox

I'm migrating them all to AKA type 2nd smtp addresses but it's nice to not have to hunt them down

Question by:carrjoe
  • 2
LVL 14

Expert Comment

ID: 35134759
from the exchange 2007/2010 shell you can:
Get-Mailbox | Where {$_.ForwardingAddress -ne $null} | Select Name, ForwardingAddress, DeliverToMailboxAndForward

also has 2003 in:

Author Comment

ID: 35202933
there a way to pipe that to a file?
LVL 14

Accepted Solution

brendanmeyer earned 2000 total points
ID: 35202979
Get-Mailbox | Where {$_.ForwardingAddress -ne $null} | Select Name, ForwardingAddress, DeliverToMailboxAndForward > file.txt

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
As cyber crime continues to grow in both numbers and sophistication, a troubling trend of optimization has emerged over the last year.
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question