I have Exchange 2007 mailboxes that have been attached to Active Directory user accounts.
The users had mail contacts before attaching the mailboxes.
A script was run to delete the mail contacts, attach the mailboxes, and add the smtp addresses that were found in the mail contact.
There are now two similar addresses in the "email addresses" tab where one needs to be removed.
The two addresses look like this: "User1@test.internal.com" and "User2@test.internal.com"
I need a script which imports a csv where the user's alias is in one column and the desired email address alias is in the second column. The script calls the csv and removes the appropriate "@test.internal.com" for the specified users.