Active Directory Maintenance: Finding Stale Computer Objects w/ PowerShell

If you’re in a large Enterprise you may have computer objects lurking in Active Directory that have not authenticated to the Domain in a while. This script will allow you to find those objects, disable them and move them to an alternate Organizational Unit.

Twitter: @signalwarrant
Google +:

1 Comment

  1. Ryan Moore | | Reply

    Thanks for the script, it worked perfectly first try, however when i change the target OU to find the computers from CN=Computers to another one i want to search it fails

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.