Solved

how to filter inactive users in active directory (2008)

Posted on 2010-11-15
3
682 Views
Last Modified: 2012-05-10
I can export a list of users and with the "filter options" filter out certain emails or something. I want to know how to filter out inactive users, so I see only active users.

The goal is to export a list of users in a particular OU whose acount are both active and contain an email address with a particular domain.
0
Comment
Question by:DonJem
  • 2
3 Comments
 
LVL 35

Accepted Solution

by:
Joseph Daly earned 500 total points
ID: 34141383
If I understand your question correctly then you should be able to utilize oldcmp by joeware to complete this task. This is a free tool to deal with inactive AD accounts.

http://www.joeware.net/freetools/tools/oldcmp/index.htm

Basically you would use code similar to the one below with your data specific to your domain added.
oldcmp -report -users -age {#days} -llts -b {Base DN of OU to search} -f {ldapfilter for email}

Open in new window

0
 

Author Comment

by:DonJem
ID: 34166861
I'm going to wait on this one. i'll let you know once I try it
0
 
LVL 35

Expert Comment

by:Joseph Daly
ID: 34166886
No problem let me know if you need any assistance.
0

Join & Write a Comment

Some time ago I faced the need to use a uniform folder structure that spanned across numerous sites of an enterprise to be used as a common repository for the Software packages of the Configuration Manager 2007 infrastructure. Because the procedu…
Know what services you can and cannot, should and should not combine on your server.
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 tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

746 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

10 Experts available now in Live!

Get 1:1 Help Now