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
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
58 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
  • 2
3 Comments
 
LVL 39

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 39

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

792 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