?
Solved

Add email address to a mail enabled contact

Posted on 2014-02-23
4
Medium Priority
?
432 Views
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
0
Comment
Question by:Twhite0909
[X]
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
4 Comments
 
LVL 19

Accepted Solution

by:
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

http://technet.microsoft.com/en-us/library/aa995950(v=exchg.141).aspx
0
 

Author Comment

by:Twhite0909
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
0
 

Author Comment

by:Twhite0909
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:

...................
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
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…
To show how to generate a certificate request 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 Servers >> Certificates…
Suggested Courses

770 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