signalwarrant.com
Scan Active Directory for old user account, Disable those accounts and move them to alternate OU | Active Directory | SignalWarrant.com - Practical PowerShell for Humans
This script will search an Active Directory OU of your choice for users that have not logged in for 30 days.