Scripts Thread, Export Users From AD by Creation Date in Coding and Web Development; Hi All,
I have a user provisioning issue. I need to see if the new Year 7s have been created ...
5th August 2011, 11:53 AM #1
Export Users From AD by Creation Date
I have a user provisioning issue. I need to see if the new Year 7s have been created in AD. however i'm not sure on what OU or containers they will have been placed into.
does anyone have a script that i can run that will return a list of users that were created on a certain date?
hope this makes sense.
5th August 2011, 12:56 PM #2
dsquery * domainroot -filter "(&(objectCategory=user)(whenCreated>=YYYYMMDDHHMM SS.0Z))"
So whenCreated>=20110611000000.0Z would get you everyone created since midnight on the 11th of June. Just output to a text file if you need to save it.
By Hightower in forum How do you do....it?
Last Post: 17th March 2011, 02:29 PM
By mcnallyfc in forum MIS Systems
Last Post: 5th November 2010, 05:59 PM
By kentwalker in forum Scripts
Last Post: 19th November 2009, 10:15 PM
Last Post: 29th April 2009, 07:38 PM
Last Post: 20th December 2007, 12:43 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread