• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 351
  • Last Modified:

Listing mailbox forwardings in Exchange 2010

Hello experts,

In an Exchange 2010, we have about 100 mailbox. I want to know which of these mailboxes have (Forward to) option enabled. I can know that by entering into mailboxes one by one through Delivery Options in mailbox properties in EMC.

Is there an EMS command which gives all active forwardings?
0
Muhajreen
Asked:
Muhajreen
3 Solutions
 
MuhajreenAuthor Commented:
Thank you.

I think the given link has a scrip, not a command.

Would you please describe how to use it? Shall I save it in a file?
0
 
Gregory MillerGeneral ManagerCommented:
The EMS is a PowerShell scripting console in which the Exchange Extensions are pre-imported for use. You can do the same thing by running PowerShell and manually importing the cmdlets for Exchange.

You can run these lines as individual commands or you can save them into a file and run them together in sequence like a batch. Either way should net you the same results.

Here is a single liner that may work for you.
Get-Mailbox | Where {$_.ForwardingAddress -ne $null}

Not as pretty but if you look, it is the same command as @diggisaur provided just broken down to the basics.
0
 
dsnegi_25decCommented:
please run powershell command as a administrator change the server  name

Get-Mailbox -server MX01 -Filter {ForwardingAddress -like '*'} | select-object Name,ForwardingAddress | Export-Csv "D:\Scripts\Forwarding.csv"
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now