Active Directory – Purge stale computers

1. Show stale computers over 60 since last AD behind the scene pw change.
a. Command Prompt: dsquery computer –stalepwd 60
2. Show stale computers AND disable stale computers
a. dsquery computer –stalepwd 60 | dsmod computer –disabled yes

Tagged , , , , . Bookmark the permalink.

Leave a Reply

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