Solved

Custom Query

Posted on 2011-02-24
1
282 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
1 Comment
 
LVL 57

Accepted Solution

by:
Mike Kline earned 500 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

Join & Write a Comment

Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now