Solved

Listing mailbox forwardings in Exchange 2010

Posted on 2013-12-25
4
338 Views
Last Modified: 2013-12-25
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
Comment
Question by:Muhajreen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 31

Assisted Solution

by:Gareth Gudger
Gareth Gudger earned 100 total points
ID: 39739604
0
 

Author Comment

by:Muhajreen
ID: 39739616
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
 
LVL 11

Accepted Solution

by:
Gregory Miller earned 300 total points
ID: 39739622
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
 
LVL 7

Assisted Solution

by:dsnegi_25dec
dsnegi_25dec earned 100 total points
ID: 39739635
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

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

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

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

752 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