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
45 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:JBfan
  • 2
3 Comments
 
LVL 38

Accepted Solution

by:
Adam Brown earned 500 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:JBfan
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 38

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
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…

911 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now