+ Post New Thread
Results 1 to 2 of 2
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 ...
  1. #1
    doddsworthy's Avatar
    Join Date
    Jul 2009
    Location
    Washington
    Posts
    18
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Export Users From AD by Creation Date

    Hi All,

    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.

    Ryan

  2. #2

    Join Date
    Mar 2008
    Location
    Surrey
    Posts
    2,168
    Thank Post
    98
    Thanked 319 Times in 261 Posts
    Blog Entries
    4
    Rep Power
    113
    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.

SHARE:
+ Post New Thread

Similar Threads

  1. Export Computer GUIDs from AD
    By Hightower in forum How do you do....it?
    Replies: 13
    Last Post: 17th March 2011, 01:29 PM
  2. [SIMS] How do you export SIMS users into AD?
    By mcnallyfc in forum MIS Systems
    Replies: 16
    Last Post: 5th November 2010, 04:59 PM
  3. Limiting Logons by detecting dupe users in AD
    By kentwalker in forum Scripts
    Replies: 8
    Last Post: 19th November 2009, 09:15 PM
  4. [Ubuntu] Mount users Home drive from AD to
    By jmair in forum *nix
    Replies: 3
    Last Post: 29th April 2009, 06:38 PM
  5. Replies: 16
    Last Post: 20th December 2007, 11:43 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •