Solved

Exchange mail forwards

Posted on 2011-03-14
3
419 Views
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



0
Comment
Question by:carrjoe
  • 2
3 Comments
 
LVL 14

Expert Comment

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

also has 2003 in:
http://exchangeshare.wordpress.com/2008/05/26/faq-find-all-users-with-forwarding-address-is-set/
0
 

Author Comment

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

Accepted Solution

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

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
In this video we show how to create a Distribution Group 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 Recipients >>…
In this video we show how to create a Contact 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 Recipients >> Contact ta…

808 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