Powershell: Groups

Hello Experts,

I want to check if a group contains the same group as its member. Could you please assist me with a script. For instance: If GroupA contains GroupA as its member.

Thanks.
Parity123Asked:
Who is Participating?
 
Shaun VermaakTechnical Specialist/DeveloperCommented:
You mean recursively right? Because it cannot directly have it as a member

Find Circular Nested Groups
https://gallery.technet.microsoft.com/scriptcenter/fa4ccf4f-712e-459c-88b4-aacdb03a08d0
0
 
Parity123Author Commented:
Thanks
0
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.

All Courses

From novice to tech pro — start learning today.