Hello everyone,
I am looking for a script that will only list AD groups with group(s) as members and all the nested groups names within them
Output would be something like:
Group1
Nested1
Group2
Nested2
nested3
etc..
Thank you in advance.
Please read this first: This forum is for scripting questions rather than script requests.
Also find scripts here: PowerShell Gallery or here: TechNet Gallery - resources for IT professionals.
Learn PowerShell: Microsoft Virtual Academy - Getting Started with Microsoft PowerShell.
Script requests: Microsoft Technet Script Center - Requests.
Live long and prosper!
(79,108,97,102|%{[char]$_})-join''
Hi,
Thanks for your question.
You can refer to similar posts before.
https://social.technet.microsoft.com/Forums/en-US/0c4cdd1f-5036-4405-ba33-6d12171e1c80/list-nested-groups?forum=winserverpowershell
Richard's reply solve your issue.
Best regards,
Lee
Just do it.