Script Download: OSCforwardingAddress(PowerShell).zip
http://gallery.technet.microsoft.com/scriptcenter/Get-or-Remove-forwarding-9943efc6

This PowerShell script sample shows get or remove forwarding address for Exchange 2010.

In most exchange environment, the administrator will set forwarding and redirecting on some users. But when we need to remove those old accounts that have not been used, we should first find how many mailboxes had set the forwarding address to those old accounts. As it is a property in Get-Mailbox, we can use a script to list those mailbox names, then we can remove those relationship as well.

image image
image

You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery