Solved

active directory windows server 2003

Posted on 2011-09-14
3
223 Views
Last Modified: 2012-05-12
is there a way in power shell to and find out all the disabled users in a domain?
0
Comment
Question by:sirichaiphumirat
[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
3 Comments
 
LVL 11

Expert Comment

by:g000se
ID: 36537746
Hi,

You could use ldap to find disable users.

Here is a link for windows powershell to find disabled users- http://blogs.technet.com/b/heyscriptingguy/archive/2010/08/16/using-powershell-to-find-all-disabled-users-in-active-directory.aspx

g000se
0
 
LVL 13

Expert Comment

by:Govvy
ID: 36537898
Use the free Quest Active Directory PS Modiule and run:

Get-QADUser -objectAttributes @{userAccountControl=546}
0
 
LVL 1

Accepted Solution

by:
klittlejohn1 earned 500 total points
ID: 36537974
I use Dumpsec which works pretty good.  Here is the link in case you want to take a look.  It allows you to find disabled accounts and other info as well like last logon, groups, etc.

http://www.systemtools.com/somarsoft/index.html

0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Suggested Solutions

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…

730 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