image_pdfimage_print
View Post

PowerShell – Listing aged out computer accounts in Active Directory

Do you remember having to use OldCmp.exe ¬†from JoeWare (great tools by the way) to capture a a list of computer accounts which have not been attached to your Active Directory for a period of time. Luckily with PowerShell and Quest ActiveRoles you can do this with a simple two line script. Here’s the code: http://gist.github.com/492494