How to find the inactive users in a domain

By | June 18, 2009

To find all users in only the current domain, who have been inactive for 3 weeks or more, and display their DNs:

dsquery user domainroot -name -inactive 3

Leave a Reply

Your email address will not be published. Required fields are marked *