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