Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

export the list of mailboxes that a EX2010 Dynamic Distro will use when a Custom Recipient Filter is applied, then pipe it into a CSV file

Posted on 2016-08-29
3
Medium Priority
?
68 Views
Last Modified: 2016-08-29
Experts,

I have found simple PS scripts that will work but only with an std OU filter, not using a Custom Recipient Filter on the Distro.

Thanks,

Russ
0
Comment
Question by:Russ Wrightson
[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
  • 2
3 Comments
 
LVL 42

Accepted Solution

by:
Adam Brown earned 2000 total points
ID: 41774956
https://technet.microsoft.com/en-us/library/bb232019(v=exchg.141).aspx explains how to accomplish this in EMC and in Powershell. It's fairly simple to do, you just need to make use of the -recipientpreviewfilter switch on get-mailbox. They example they give includes OU information, but if your DDG does not limit itself by OU, you can just remove the Organizational unit portion of the command and it will check against the whole domain.
0
 

Author Comment

by:Russ Wrightson
ID: 41775093
Thamks Adam, your link was helpful. We also did find a PS script that someone had created that would produce the CSV for us as well.
0
 
LVL 42

Expert Comment

by:Adam Brown
ID: 41775124
for the future, though, you can usually build up a CSV by piping output from any cmdlet to the export-csv cmdlet like this:

$MarketingGroup = Get-DynamicDistributionGroup "Marketing Group"
Get-Recipient -RecipientPreviewFilter $MarketingGroup.RecipientFilter | export-csv <filename>

Open in new window

0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

Know the reasons and solutions to move/import EDB to New Exchange Server. Also, find out how to recover an Exchange .edb file and to restore the file back.
Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses

722 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