AD - Inactive Users
PowerShell Loop
- When proper OUs are specified, this PowerShell script will:
- Find inactive users based on
$daysInactive
- Disables the user’s account
- Moves account into OU specified via
$MoveInactive
- Find inactive users based on
- Features needed:
- Import CSV option
- Code published in GitHub: