Solved

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

Posted on 2013-01-31
4
272 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

617 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