Solved

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

Posted on 2013-01-31
4
267 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
Comment Utility
Do you have any AD auditing software installed?
0
 
LVL 4

Accepted Solution

by:
Rahul Patil earned 0 total points
Comment Utility
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
Comment Utility
The expert comment helped me to find the command andi managed to modify query which yields exact output which i want
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

I have never ceased to be amazed how many problems you can encounter on a fresh install of a Windows operating system.  This is certainly case in point& Unable to complete ANY MSI installation.  This means Windows Updates are failing and I can't …
by Batuhan Cetin Within the dynamic life of an IT administrator, we hold many information in our minds like user names, passwords, IDs, phone numbers, incomes, service tags, bills and the order from our wives to buy milk when coming back to home.…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

743 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

17 Experts available now in Live!

Get 1:1 Help Now