Export list of members from an Active Directory group to a text file

This can be achieved via the NET GROUP command quite easily

Open a command prompt in Admin mode and run the below command

Capture45

 

net group "Domain Users" /domain >memberlist.txt


There you go and you can export that in excel and use the space delimiter to get it tidied up

Hope this helps someone

 

 

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.