Need to export users list from the Group

Posted on 2012-09-19
Last Modified: 2012-09-24
What's the quick way to export the list of users from the specific group.   Adfind or AD query?
Question by:Tiras25
    LVL 18

    Accepted Solution

    run this

    dsquery group -samid "Group Name" | dsget group -members | dsget user -display -email >C:\Groupname.csv

    Open in new window

    note :- edit the group name
    LVL 57

    Assisted Solution

    by:Mike Kline
    Lots of ways, I outlined some here

    In that example I looked for enabled users but you can take the useraccountcontrol part out if you want all users.


    LVL 26

    Assisted Solution

    by:Thomas Zucker-Scharff
    You can also use luser.exe (it is seen as malware by some engines).
    LVL 18

    Assisted Solution

    You may also use

    Cjwdev | AD Info - Active Directory Reporting Tool

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Why spend so long doing email signature updates?

    Do you spend loads of your time carrying out email signature updates? Not very interesting are they? Don’t let signature updates get you down. Let Exclaimer Cloud - Signatures for Office 365 make managing email signatures a breeze.

    This is a based on my experience in IT role and also my role before that, a builder. These 1st contact rules have helped me and more importantly help past, present and hopefully future client/people I get to work/assist. Via Telephone: 1.      Answ…
    Ever wondered why Windows 8 and 10 don't seem to accept your GPO-based software deployment while Windows 7 does? Read on.
    This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
    This tutorial will walk an individual through the process of upgrading their existing Backup Exec 2012 to 2014. Either install the CD\DVD into the drive and let it auto-start, or browse to the drive and double-click the Browser file: Select the ap…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now