Solved

Exchange mail forwards

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Microsoft has released various new features which are capable of handling various tasks. One of these tasks is ‘Migration from pop3 to Exchange Server’. Pop3 data stores various data along mailboxes like contacts, tasks, etc. So, it becomes the need…
Ransomware continues to be a growing problem for both personal and business users alike and Antivirus companies are still struggling to find a reliable way to protect you from this dangerous threat.
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…
In this video we show how to create an email address policy 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 Mail Flow…

828 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