Solved

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

Posted on 2013-01-31
4
270 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
4 Comments
 
LVL 23

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

820 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