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

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
Twhite0909Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Nick RhodeConnect With a Mentor IT DirectorCommented:
CMD you mean powershell?

Set-Mailbox *User* -EmailAddresses @{Add=’User2@domain.com’}
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.