• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 576
  • Last Modified:

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
0
Paulo_Souza
Asked:
Paulo_Souza
1 Solution
 
Paulo_SouzaAuthor Commented:
Hello!

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

Paulo Souza
0

Featured Post

Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now