Link to home
Start Free TrialLog in
Avatar of sirichaiphumirat
sirichaiphumiratFlag for United States of America

asked on

active directory windows server 2003

is there a way in power shell to and find out all the disabled users in a domain?
Avatar of g000se
g000se
Flag of United States of America image

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
Use the free Quest Active Directory PS Modiule and run:

Get-QADUser -objectAttributes @{userAccountControl=546}
ASKER CERTIFIED SOLUTION
Avatar of klittlejohn1
klittlejohn1

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial