This script automates the process of terminating a user's account in Active Directory. It performs the following actions:
- Clears the manager attribute of the user.
- Removes the user from all group memberships.
- Moves the user to a specified Organizational Unit (OU) for terminated accounts.
- Disables the user account.