sirichaiphumirat
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?
Use the free Quest Active Directory PS Modiule and run:
Get-QADUser -objectAttributes @{userAccountControl=546}
Get-QADUser -objectAttributes @{userAccountControl=546}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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