troubleshooting Question

Exchange 2010 powershell problem deleting secondary email address

Avatar of Mark Lewis
Mark Lewis asked on
PowershellExchangeEmail Servers
3 Comments2 Solutions115 ViewsLast Modified:
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
Todd Nelson
Systems Administrator
Join our community to see this answer!
Unlock 2 Answers and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros