Thursday, May 2, 2013

How To Export Members From A Group in AD


Please see below should you need to export the list of users in a specific group;

  • Create a new "Saved Query", and set its Name, Query root, and to include subcontainer. Then define the query. Select Custom Search and switch to the Advanced tab. Here you simply enter "memberOf=" followed by the group DN (you can get this by running dsquery group -samid "Group Name"). Like this:
    memberOf=CN=Group Name,OU=Groups,DC=domain,DC=local

No comments:

Post a Comment