PowerShell: AD Workstation Cleanup Script version 2.0

Update (2010-08-25): I have posted a newer version of this script. A little while ago, I posted a PowerShell script that detects old machine accounts in Active Directory, and disables or deletes them, based on certain ages (in days). I’ve continued work on this script, such that it now logs information to Excel about actions … Read morePowerShell: AD Workstation Cleanup Script version 2.0

PowerShell: Clean up AD Computer Accounts

Update (2009-11-03): I have posted a newer version of this script. Please visit this link for information. ————— I recently wrote a script to clean up workstation accounts in our Active Directory domain. It’s not perfect, but it was a good learning experience, as I found out there are some gritty details when working with … Read morePowerShell: Clean up AD Computer Accounts