• Status: Solved
  • Priority: Low
  • Security: Public
  • Views: 41
  • Last Modified:

How to list the groups that are MEMBER OF of an AD Group?

Hi everyone,

I need to consult the MEMBER OF, of 50 Group on a list in a csv file. How Can I do that?

I found this command but didnt work.

Get-DistributionGroupMember -Identity "GRP_GROUP1"

Open in new window

Jose Colmenares
Jose Colmenares
1 Solution
Use Get-ADGroupMember.
Import-CSV grouplist.csv | ForEach { Get-ADGroupMember $_.group }

Open in new window

Assuming a .CSV with a header named "group".
Jose ColmenaresAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now