Solved

AD Querys

Posted on 2012-03-14
3
342 Views
Last Modified: 2012-03-16
I am trying to run a query in ADUC to get a list of all my users.  Does anyone know of a good tool to query all my users and export to a csv.  Or at least to be able to pull all my users.  I have multiple OU's that I need to pull from.
0
Comment
Question by:APWIP-Admin
3 Comments
 
LVL 57

Accepted Solution

by:
Mike Kline earned 500 total points
ID: 37720063
A lot of ways, a free GUI tool that is nice is adinfo   http://www.cjwdev.co.uk/Software/ADReportingTool/Info.html

adfind is a great command line tool  (free)   http://www.joeware.net/freetools/tools/adfind/index.htm

adfind -default -f "&(objectcategory=person)(objectclass=user)" samaccountname -csv > c:\users.csv

other methods include powershell, dstools, csvde, ADUC, and other methods but that should get you started

Thanks

Mike
0
 

Author Closing Comment

by:APWIP-Admin
ID: 37720121
Perfect.  Thank you
0
 
LVL 8

Expert Comment

by:Brent Challis
ID: 37731802
if you have a Windows Server 2008 R2 DC or have the gateway services installed so that you can use the ActiveDirectory module for PowerShell, you could also use:

Get-ADUser | Export-Csv Users.csv
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
Last week, our Skyport webinar on “How to secure your Active Directory” (https://www.experts-exchange.com/videos/5810/Webinar-Is-Your-Active-Directory-as-Secure-as-You-Think.html?cid=Gene_Skyport) provided 218 attendees with a step-by-step guide for…
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

777 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