Link to home
Start Free TrialLog in
Avatar of Mark Lewis
Mark Lewis

asked on

Exchange 2010 powershell problem deleting secondary email address

We are letting our secondary email address go (old name). I deleted the domain from the policy and accepted domain in Exchange but it left all the old email addresses on the recipients. I really need to know how to remove them form 200+ users in one swoop but decided to test on a single user first.

I ran this command: Set-Mailbox "John Doe" -EmailAddresses @{remove="jdoe@mydomain.com"}

I got this in return: WARNING: The command completed successfully but no settings of 'mydoamin.com/.../John Doe' have been modified.

Obviously the secondary email address was not removed.
ASKER CERTIFIED SOLUTION
Avatar of Todd Nelson
Todd Nelson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Can you try to  restart the Transport service or Restart the server and see if the secondary email is gone.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial