autonomicdreams.com
Powershell script to delete inactive computer accounts.
A nice quick script to get machines that have not logged on to the network in over x days, move to another OU and disable. $d = [DateTime]::Today.AddDays(-365) $todisable = Get-ADComputer -F…