C_Parlato
asked on
Find AD Security Group Membership from Powershell
Ok... So I need to know how to determine all the users a particular Security Group is applying to.
I'm able to find the members using this command:
The problem is, the particular SG that I'm looking at only has SG members. I'm having a difficult time figuring the puzzle out... I need a list of the users.
Group 1
- Group 2
- - Group Member 1
- - Group Member 2
- - Group Member 3
- - - Group 4
- - - - Group Member 6
- Group 3
- - Group Member 4
- - Group Member 5
- - Group Member 6
I'm able to find the members using this command:
Get-ADGroupMember "SecurityGroup" | Select Name, SamAccountName, objectClass
The problem is, the particular SG that I'm looking at only has SG members. I'm having a difficult time figuring the puzzle out... I need a list of the users.
Group 1
- Group 2
- - Group Member 1
- - Group Member 2
- - Group Member 3
- - - Group 4
- - - - Group Member 6
- Group 3
- - Group Member 4
- - Group Member 5
- - Group Member 6
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.