Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Add email address to a mail enabled contact

Posted on 2014-02-23
Medium Priority
Last Modified: 2014-03-13
OK so we have 300 mailboxes we will be deleting and routing mail through mail enabled contacts.  I already have the Contacts created with an External Email address to fwd to and I already have a command  set the server side rule to FWD the email once deleted from Exchange.  What I need now is a CMD within EMC that will let me add the email address I'm deleting to the contact's emails.  I found this but it doesn't seem to be doing the tick .  Any ideas:

Set-MailContact -Name "Bob Smith" -SmtpEmailAddress Bob.Smith@company.com

Thanks in Advance
Question by:Twhite0909
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 19

Accepted Solution

suriyaehnop earned 2000 total points
ID: 39881517
Set-MailContact -Identity "Bob Smith" -PrimarySMTPAddress Bob.smith@company.com -

Open in new window

FYI: Get-Help Set-Mailcontact -full


Author Comment

ID: 39882844
Now I do not need the  Primary SMTP changed.  The Primary SMTP is the Microsoft 365 account the mail is routing to.  I want to add my companies email address just as a secondary email address to the contact.  also this cmd gives an error

Set-MailContact -Identity "bob Smith" -PrimarySMTPAddress bob.smith@companycom -
A positional parameter cannot be found that accepts argument '-'.
    + CategoryInfo          : InvalidArgument: (:) [Set-MailContact], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Set-MailContact

Author Comment

ID: 39926304
I've requested that this question be closed as follows:

Accepted answer: 0 points for Twhite0909's comment #a39882844

for the following reason:


Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One-stop solution for Exchange Administrators to address all MS Exchange Server issues, which is known by the name of Stellar Exchange Toolkit.
If something goes wrong with Exchange, your IT resources are in trouble.All Exchange server migration processes are not designed to be identical and though migrating email from on-premises Exchange mailbox to Cloud’s Office 365 is relatively simple…
how to add IIS SMTP to handle application/Scanner relays into office 365.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Suggested Courses

618 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