View the members of a Dynamic Distribution Group using PowerShell

If you need to preview the members of a Dynamic Distribution Group then you can do this easily using the Get-Recipient and Get-DynamicDistributionGroup cmdlets.  The following example returns the list of members in the “Newport Users” DDG:

$DDG = Get-DynamicDistributionGroup "Newport Users"
Get-Recipient -RecipientPreviewFilter $DDG.RecipientFilter -OrganizationalUnit $DDG.RecipientContainer

 

[BlogBookmark] [Blogsvine] [del.icio.us] [Digg] [Facebook] [Furl] [Google] [LinkedIn] [MySpace] [Reddit] [Slashdot] [StumbleUpon] [Twitter] [Windows Live] [Yahoo!] [Email]