Jump to content

Recommended Posts

Posted

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

Posted

dsquery * domainroot -filter "(&(objectCategory=user)(whenCreated>=YYYYMMDDHHMMSS.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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



  • 46 When would you like EduGeek EDIT 2025 to be held?

    1. 1. Select a time period you can attend


      • I can make it in June\July
      • I can make it in August\Sept
      • Other time period. Comment below
      • Either time

×
×
  • Create New...