How can I see all the existing mail forwards in Exchange 2007

Posted on 2007-10-03
Last Modified: 2012-05-05

I would like to get a dump of all the mail forwards that are currently active on my Exchange 2007 server. Does anyone know if this is possible via Powershell? I've been googling for a while but no luck.

Question by:emailjws
    LVL 22

    Expert Comment

    Are you looking for the Admin configured mail to be fowarded or user rules?

    Author Comment

    Right now I am looking for user rules (forwards that they have configured using Outlook I guess), but ideally I would like a list of all accounts that are being forwarded outside the organization.

    LVL 22

    Expert Comment

    get-mailbox -resultsize:unlimited | fl Alias,ForwardingAddress

    this will not get rules though
    LVL 26

    Accepted Solution

    You may need to query (DSQuery * ) for 'altRecipient' attribute.

    More Info:
    (If you need more info regarding DSQuery * do let me know.)

    Have a look at following (script for getting list of all the users who have an alternate recipient):

    Hope this helps!

    Author Comment

    Thanks for the replies, much appreciated.

    farhankaziDate- I ran the script from the second link and it works great but it doesn't seem to show the users that have the forward setup via outlook.

    To give your more information, I am particually looking for one user who moved to another division within our org, his email address is autoforwarding to his new address, he now wants this stoppped. Thing is his AD account was deleted a while back so I can't see how the forwarding is still working, I have tested it though and it is. Very strange. Any ideas?

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
    Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
    In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
    how to add IIS SMTP to handle application/Scanner relays into office 365.

    754 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

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now