Sedgwick_County
asked on
Forwarding Address
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!
To find all the users who have the forwarding turn on run:
Get-Mailbox -Filter {DeliverToMailboxAndForward -eq $true} | fl Name,PrimarySmtpAddress
To turn off forwarding to all mailboxes:
Get-Mailbox -Filter {DeliverToMailboxAndForware -eq $true} | Set-Mailbox -DeliverToMailboxAndForward:$false
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Found the proper script needed.
http://exchangepedia.com/2005/10/list-users-with-email-forwarding-enabled.html
http://social.technet.microsoft.com/Forums/exchange/en-US/fc3fdb28-5e0a-4977-bb5f-e73bfd25e6fc/exchange-2010-getting-a-list-of-who-is-forwarding-mail-and-who-they-are-forwarding-to