how to add new primary and secondary aliases RRS feed

  • Question

  • Looking for an exchange command shell 2007 to add new primary and secondary aliases for existing mailboxes (bulk users). Existing addresses should available with the account and it should not overwrite or deleted. How to achieve this using exchange shell command. Thanks in Advance.


    Thursday, January 7, 2016 4:16 AM


All replies

  • There's not a single command to do that in Exchange 2007, so you'll need to write a script.  I know for a fact that there are plenty of people who have posted solutions to this, so please go ahead and search for them.

    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
    Celebrating 20 years of providing Exchange peer support!

    Thursday, January 7, 2016 5:27 AM
  • Hi,

    Before adding new email addresses, remember that one mailbox can only have one primary SMTP address and multiple other email addresses. By default, the primary SMTP address is based on Email Address Policy. If you want to change the primary SMTP address, set the EmailAddressPolicyEnabled to false for this user via Set-Mailbox then change it, or configure your email address policy.

    Script in this thread for reference:


    Best Regards.

    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com

    TechNet Community Support

    Friday, January 8, 2016 7:05 AM