Solved

Import Mail Contact List not working

Posted on 2012-12-21
1
549 Views
Last Modified: 2012-12-30
Hello!

Guys, I'm 3 days trying to import a Mail Contacts List in Exchange Server 2010 SP1 and so far I could not.
 
The contents of the CSV is:
Rodrigo Sales,rodrigo.sales@itambe.net,itambe.net/Users
Joao Silva,joao.silva@itambe.net,itambe.net/Users

I ran the following command in the Exchange Management Shell and appears ">>".

Import-CSV C:\contatos.csv | ForEach-Object{New-MailContact -ExternalEmailAddress $_.Email -Name $_.Name -OrganizationalUnit $_.itambe.net/Users
 >>
 
http://mondexflex.com.br/uploads/default/files/import_mail_contacts_list.png

Please can someone help me?
 
Thank you.
 
Paulo Souza
0
Comment
Question by:Paulo_Souza
1 Comment
 

Accepted Solution

by:
Paulo_Souza earned 0 total points
ID: 38731243
Hello!

Missing a "}" (key) to close the ForEach-Object and remove the /Users.

Paulo Souza
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
To show how to create a transport rule 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 >> Rules tab.:  To cr…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

813 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

12 Experts available now in Live!

Get 1:1 Help Now