Import Mail Contact List not working

Paulo_Souza
Paulo_Souza used Ask the Experts™
on
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
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Hello!

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

Paulo Souza

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial