David
David

Reputation: 961

View groups inside of groups with powershell

I am trying to see which groups are inside of a group. For example: ACCCLK_JC is the job code for ACCCLK. It contains roughly 17 groups. I wish to see each group inside this group. This is also known as nested groups or subgroups.

Upvotes: 0

Views: 48

Answers (1)

David
David

Reputation: 961

While typing this question out I discovered the answer.

 Get-ADPrincipalGroupMembership $Group | Select-Object -ExpandProperty name

Upvotes: 1

Related Questions