Active Directory Search

Posted on 2012-08-17
Last Modified: 2012-08-17

I need to search through our active directory and find, for each user (human), their account, their display name, the "Description" and, in the organization tab, their department and their Manager.  If any of these fields is blank, I would need to know that.

Also, is there a way to copy the value of the "Department" into the "Description" field, or vice versa?

Question by:kmoloney
    LVL 57

    Expert Comment

    by:Mike Kline
    You could use a tool like adfind to search

    adfind -default -f "&(objectcategory=person)(objectclass=user)"  samaccountname  diaplayname description department manager -csv -nodn > users.csv


    LVL 2

    Author Comment

    That worked well for pulling the info -- can I add values using this software?  Plus it's a complicated as far as instructions.
    LVL 57

    Accepted Solution

    You can't add values for that you would have to combine it with admod (another joeware tool).  

    others may provide different methods (powershell, vbscript, etc)



    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Suggested Solutions

    This is my first article in EE and english is not my mother tongue so any comments you have or any corrections you would like to make, please feel free to speak up :) For those of you working with AD, you already are very familiar with the classi…
    Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
    This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
    This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

    737 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