Obtaining list of usernames from AD (Active Directory)

Posted on 2004-11-10
Last Modified: 2010-04-14
Does anyone know of a way or tool that will allow me the following information from active directory?  I need only the information list below (although I can pull any additional unecessary information if someone knows of a way/tool that pulls more than I need).  

First Name
Last Name

Please advise.  Thank you.
Question by:TheBrothaULuv2H8
    LVL 18

    Accepted Solution

    LVL 2

    Author Comment

    From a command line

    CSVDE -f users.csv -r "(&(onjectClass=user))"

    Lists all computer and user information to a CSV file which I can open in excel delete unwanted columns and wham....good to go!

    Thank you!
    LVL 2

    Author Comment


    CSVDE -f users.csv -r "(&(onjectClass=user))"

    should be

    CSVDE -f users.csv -r "(&(objectClass=user))"

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
    Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    729 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

    21 Experts available now in Live!

    Get 1:1 Help Now