dagostino
asked on
Seconday EMail Addresses in Exchange 2010
Over the years we have merged with a few companies and because of this those users had email addresses with their old domains listed. We are now cleaning up since we have moved to Exchange 2010 and I would like to find a way to get a listing of all those with domains other then our primary domain now and delete them. If anyone could help with a script to do this I would appreciate it.
In all honesty you could just remove the old domains from the "allowed domains" tab in the management console. The email address's will still be attached to users but no one will be able to use them.
to list the ones you have run:
(get-mailbox <mailboxname>).EmailAddres ses
This will help too:
http://blogs.microsoft.co.il/blogs/scriptfanatic/archive/2010/01/21/How-to-modify-email-addresses-with-PowerShell-2.0.aspx
(get-mailbox <mailboxname>).EmailAddres
This will help too:
http://blogs.microsoft.co.il/blogs/scriptfanatic/archive/2010/01/21/How-to-modify-email-addresses-with-PowerShell-2.0.aspx
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.