?
Solved

Custom Query

Posted on 2011-02-24
1
Medium Priority
?
288 Views
Last Modified: 2012-05-11
We are going through an implementation and i need to locate accounts that were created from a time period of 5 months for a specific OU. I need to build this query and run this through hyena tool or just a quey in AD . Please help as i am new to writing these.
0
Comment
Question by:arsenal22
[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
1 Comment
 
LVL 57

Accepted Solution

by:
Mike Kline earned 2000 total points
ID: 34976317
Take a look at this blog from Scott

http://blog.scottlowe.org/2006/10/11/finding-recently-created-active-directory-accounts/

So you would do something similar except you would use

adfind -b "dn of your OU" -f &(objectcategory=person)(objectclass=user)...then the syntax Scott went over

...and look at this question I helped with

http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_26422428.html

Thanks

Mike
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
This article describes how to import Lotus Notes Contacts into Outlook 2016, 2013, 2010 and 2007 etc. with a few manual steps. You can easily export and migrate Lotus Notes contacts into Microsoft Outlook without having to use any third party tools.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses
Course of the Month11 days, 3 hours left to enroll

770 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