Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to export list of users created in perticular OU during a duration in active directory

Posted on 2013-01-31
4
Medium Priority
?
276 Views
Last Modified: 2013-04-02
Hi,

Can you please advise How to export list of users created in perticular OU during a duration in active directory ?I need to exctarct list of users created in last month in an OU for one month.It's urgent .Can you please help

Regards,
Rtantra
0
Comment
Question by:Rahul Patil
  • 2
3 Comments
 
LVL 24

Expert Comment

by:Nagendra Pratap Singh
ID: 38838848
Do you have any AD auditing software installed?
0
 
LVL 4

Accepted Solution

by:
Rahul Patil earned 0 total points
ID: 38840980
Hi ,

Thanks for the comments but Finally I managed to find the solution.No need of third party tools.I used Microsoft inbuilt utility csvde and below query gave me exactly what I want:

csvde -F example.csv -d "ou=ouname,DC=dcname,DC=com" -r "(&(objectCategory=person)(objectClass=user)(whenCreated>=20130101000000.0Z))"

Note-whencreated-specify date in format yearmonthdate,example.csv is the output filename


Regards,
Rtantra
0
 
LVL 4

Author Comment

by:Rahul Patil
ID: 38854315
The expert comment helped me to find the command andi managed to modify query which yields exact output which i want
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

877 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