Solved

Add email address to a mail enabled contact

Posted on 2014-02-23
4
422 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
In this video we show how to create a Distribution Group 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 >>…
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…

816 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