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
  • Features needed:
    • Import CSV option
  • Code published in GitHub: