Solved

Add email address to a mail enabled contact

Posted on 2014-02-23
4
424 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
  • 2
4 Comments
 
LVL 18

Accepted Solution

by:
suriyaehnop earned 500 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
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…
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…

830 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