active directory windows server 2003

Posted on 2011-09-14
Last Modified: 2012-05-12
is there a way in power shell to and find out all the disabled users in a domain?
Question by:sirichaiphumirat
LVL 11

Expert Comment

ID: 36537746

You could use ldap to find disable users.

Here is a link for windows powershell to find disabled users-

LVL 13

Expert Comment

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

Get-QADUser -objectAttributes @{userAccountControl=546}

Accepted Solution

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.


Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In this video we show how to create an email address policy 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…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

837 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