{"id":1579,"date":"2012-12-05T18:12:08","date_gmt":"2012-12-05T18:12:08","guid":{"rendered":"http:\/\/www.edwardsd.co.uk\/work\/?p=1579"},"modified":"2013-10-02T09:25:59","modified_gmt":"2013-10-02T08:25:59","slug":"list-dynamic-distribution-users-using-emc","status":"publish","type":"post","link":"https:\/\/www.edwardsd.co.uk\/work\/2012\/12\/list-dynamic-distribution-users-using-emc\/","title":{"rendered":"List &#8220;Dynamic Distribution Group&#8221; members | EMC PowerShell"},"content":{"rendered":"<p>If you need to get a list of AD users in &#8220;<a title=\"How to Create a New Dynamic Distribution Group\" href=\"http:\/\/technet.microsoft.com\/en-us\/library\/aa996561(v=exchg.80).aspx\" target=\"_blank\">Dynamic Distribution Groups<\/a>&#8221;\u00a0then you can use this PowerShell script&#8230; <a title=\"List Domain Users using Powershell\" href=\"http:\/\/goo.gl\/IMBhO\" target=\"_blank\">here<\/a>. Only problem is that the script does not export details of Dynamic Distribution Group.<\/p>\n<p>You can list DDG users by running this script using the Exchange Management Shell (<a title=\"Exchange Management Shell\" href=\"http:\/\/technet.microsoft.com\/en-us\/library\/bb676402.aspx\" target=\"_blank\">EMC<\/a>)<\/p>\n<pre lang=\"powershell\">$Group = Get-DynamicDistributionGroup -Identity \"Staff-UK\"\r\nGet-Recipient -Filter $Group.RecipientFilter -OrganizationalUnit \u201cdomain.com\/UK_Users_OU\/Branch_Users\u201d | Out-File c:\\Staff-UK.txt<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>If you need to get a list of AD users in &#8220;Dynamic Distribution Groups&#8221;\u00a0then you can use this PowerShell script&#8230; here. Only problem is that the script does not export details of Dynamic Distribution Group. You can list DDG users by running this script using the Exchange Management Shell (EMC) $Group = Get-DynamicDistributionGroup -Identity &#8220;Staff-UK&#8221; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[25,23,44],"tags":[],"class_list":["post-1579","post","type-post","status-publish","format-standard","hentry","category-exchange-2007","category-windows-server-2008","category-windows-server-2012"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pOPt8-pt","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/posts\/1579","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/comments?post=1579"}],"version-history":[{"count":0,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/posts\/1579\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/media?parent=1579"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/categories?post=1579"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/tags?post=1579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}