Solved

Exchange 2010 CMD to add a secondary SMTP address to Mail Contact

Posted on 2014-02-05
1
544 Views
Last Modified: 2014-02-21
Is there a cmd to add a secondary SMTP address to a Mail Contact.  I want to take a Mailbox which is currently being FWD to an Office 365 account and Delete that Mailbox from my Exchange.  I have a Mail Contact for the Office 365 account in place.  I can set a Server side rule for the fwd using this:

New-InBoxRule -Mailbox "UserName" -Name "Forward to partner" -ExceptIfHasAttachment $false   -DeleteMessage $true -ForwardTo SMTP: "email address"

I just need a CMD to add the deleted address as a secondary SMTP to the contact.  I know how to do this manually through EMC.  A CMD will help me do multiple at once.

Thank you
0
Comment
Question by:Twhite0909
1 Comment
 
LVL 22

Accepted Solution

by:
Nick Rhode earned 500 total points
Comment Utility
CMD you mean powershell?

Set-Mailbox *User* -EmailAddresses @{Add=’User2@domain.com’}
0

Featured Post

Want to promote your upcoming event?

Is your company attending an event or exhibiting at a trade show soon? Are you speaking at a conference? Spread the word by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

Join & Write a Comment

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now