Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Active Directory Search

Posted on 2012-08-17
3
Medium Priority
?
853 Views
Last Modified: 2012-08-17
Hello,

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?

Thanks!!
0
Comment
Question by:kmoloney
  • 2
3 Comments
 
LVL 57

Expert Comment

by:Mike Kline
ID: 38305081
You could use a tool like adfind to search   http://www.joeware.net/freetools/tools/adfind/index.htm 


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

Thanks

Mike
0
 
LVL 2

Author Comment

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

Accepted Solution

by:
Mike Kline earned 1500 total points
ID: 38305642
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)

Thanks

Mike
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Office 365 is a subscriptions based service which includes services like Exchange Online and Skype for business Online. These services integrate with Microsoft's online version of Active Directory called Azure Active Directory.
I’m willing to make a bet that your organization stores sensitive data in your Windows File Servers; files and folders that you really don’t want making it into the wrong hands.
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 to another domain controller. Log onto the new domain controller with a user account t…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
Suggested Courses

581 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