Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Import Mail Contact List not working

Posted on 2012-12-21
1
Medium Priority
?
565 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

In-place Upgrading Dirsync to Azure AD Connect
Are you an Exchange administrator employed with an organization? And, have you encountered a corrupt Exchange database due to which you are not able to open its EDB file. This article will explain all the steps to repair corrupt Exchange database.
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
This video discusses moving either the default database or any database to a new volume.

704 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