Solved

Forwarding Address

Posted on 2013-11-14
5
259 Views
Last Modified: 2013-11-19
I have a user somewhere in our org that has forwarding turned on in their Exchange account (not outlook).  The messages are being delivered to a generic email that is getting spammed from a specific distribution list.  The DL is a valid one for a different department and has over 300 users.  I am trying to find a powershell script that I can run to find, in Exchange, the users who are forwarding to a specific email address.  Any help would be greatly appreciated!
0
Comment
Question by:Sedgwick_County
  • 2
  • 2
5 Comments
 
LVL 19

Expert Comment

by:R--R
ID: 39648194
0
 
LVL 23

Expert Comment

by:Stelian Stan
ID: 39648210
To find all the users who have the forwarding turn on run:

Get-Mailbox -Filter {DeliverToMailboxAndForward -eq $true} | fl Name,PrimarySmtpAddress

Open in new window

0
 
LVL 23

Expert Comment

by:Stelian Stan
ID: 39648227
To turn off forwarding to all mailboxes:

Get-Mailbox -Filter {DeliverToMailboxAndForware -eq $true} | Set-Mailbox -DeliverToMailboxAndForward:$false

Open in new window

0
 

Accepted Solution

by:
Sedgwick_County earned 0 total points
ID: 39648861
I found this and it helped me find what I needed.  Thanks!


Get-Mailbox | Where {$_.ForwardingAddress -ne $null} | Select Name, ForwardingAddress, DeliverToMailboxAndForward

Open in new window

0
 

Author Closing Comment

by:Sedgwick_County
ID: 39658849
Found the proper script needed.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

740 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