Solved

Forwarding Address

Posted on 2013-11-14
5
253 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
In this video we show how to create an Address List 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 Organization >> Ad…
In this video we show how to create an Accepted Domain 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 >> Ac…

776 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