Import Mail Contact List not working

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
Paulo_SouzaAsked:
Who is Participating?
 
Paulo_SouzaAuthor Commented:
Hello!

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

Paulo Souza
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.