0

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.

Frode F.
  • 52,376
  • 9
  • 98
  • 114
David
  • 891
  • 1
  • 8
  • 18

1 Answers1

1

While typing this question out I discovered the answer.

 Get-ADPrincipalGroupMembership $Group | Select-Object -ExpandProperty name
David
  • 891
  • 1
  • 8
  • 18
  • A shorter way is to pipe to a ForEach loop and only specify the property to expand, such as `Get-ADPrincipalGroupMembership $Group | % Name` – TheMadTechnician May 19 '16 at 17:59