List of all email forwarding for mailboxes in Exchange 2010

southwestsixteen
southwestsixteen used Ask the Experts™
on
Hi,

One of my clients has an unusual request.

Please could we have a list compiled that specifies all the email forwards for every employee mailbox? i.e. who has their email forwarded to Gmail or anywhere else.

Is there a powershell command that can do this as i'm dreading having to go through each mailbox and check to see if they have a forward rule enabled? This is Exchange 2007.

Thanks.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
This should do it

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

You can output to screen, text, csv or xml

Author

Commented:
Spot on. Cheers mate.
Welcome

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial