?
Solved

Custom Query

Posted on 2011-02-24
1
Medium Priority
?
290 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 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

The core idea of this article is to make you acquainted with the best way in which you can export Exchange mailbox to PST format.
Transferring FSMO roles is done when an admin wants to split roles between certain Domain Controllers or the Domain Controller holding the Roles has been forcefully demoted using dcpromo / forceremoval
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 …
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Suggested Courses

809 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