Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 239
  • Last Modified:

active directory windows server 2003

is there a way in power shell to and find out all the disabled users in a domain?
0
sirichaiphumirat
Asked:
sirichaiphumirat
1 Solution
 
g000seCommented:
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
 
GovvyCommented:
Use the free Quest Active Directory PS Modiule and run:

Get-QADUser -objectAttributes @{userAccountControl=546}
0
 
klittlejohn1Commented:
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

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now