Quantcast
Channel: Exchange Server 2013 - Mail Flow and Secure Messaging forum
Viewing all articles
Browse latest Browse all 3660

List Parent Distribution Groups that Nested Distribution Groups Might be Members Of

$
0
0

Hi,

We have a series of typical regular universal distribution groups. We also have a large number of dynamic distribution groups. The dynamic distribution groups have been placed / nested in the universal distribution groups

We need to be able to determine which static groups a dynamic group is a member of

We're not looking to list the members of a group, or to recursively list members of a group and the members of a group nested within each group. Instead, we want to be able to determine, for example, which universal distribution groups the dynamic distribution group "MyDynGroup" belongs to

We have tried:

$groups = Get-DistributionGroup

$groups | where-object { ( Get-DistributionGroupMember $_ | where-object { $_.Name -eq “MyDynGroup”}) }

we have also tried commands along the line of:

Get-DistributionGroup |  Get-DistributionGroupMember | where { $_.Name -eq "MyDynGroup"} | select name

No joy unfortunately

Any help would be greatly appreciated

Thanks


Viewing all articles
Browse latest Browse all 3660

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>