Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

As cyber crime continues to grow in both numbers and sophistication, a troubling trend of optimization has emerged over the last year.
Steps to fix error: “Couldn’t mount the database that you specified. Specified database: HU-DB; Error code: An Active Manager operation fail”
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…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

580 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