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
65 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 41

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: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 41

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
Check out this step-by-step guide for using the newly updated Experts Exchange mobile app—released on May 30.
This video discusses moving either the default database or any database to a new volume.
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…

734 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