Export AD group members – nested / recursive group members

As Technet Gallery is retiring so moving the code to Git Hub. (click below github download link for this script)

Export AD group members – nested / recursive group members

Hi Readers,

As my love for powershell is growing so is my repository of scripts.

This script that I have written has been requested by various community members & by front facing Teams in our organization.

By using this script you have to just in put CN of a group (otherwise it will not work) & it will recurse thru to extract the group members

from all the nested group. (machine from which you are running it must have “ADSI Edit”–this is part of administration tools)

Just paste the script in any folder, run getmembers.bat

Capture

Thanks for reading and downloading…

Tech Wizard

https://techwizard.cloud

https://syscloudpro.com/

PowerShell Cheat Book

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s