Solved

Custom Query

Posted on 2011-02-24
1
287 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 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

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Here's a look at newsworthy articles and community happenings during the last month.
Outlook for dependable use in a very small business   This article is about using the Outlook application (part of Microsoft Office) in a very small business, or for homeowners where dependability and reliability are critical requirements. This …
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
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 …

688 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