Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

import contacts from microsoft outlook to exchange 2013

$
0
0

Hello everyone

in our company we have thousands of contacts saved in a pst file in outlook. I exported them to a csv file we need to import the using exchange management shell now we are still working on a lab before moving to a production server

We found a script

Import-Csv test.csv | ForEach { New-MailContact -Name $_.displayName -Firstname $_.FirstName -LastName $_.LastName -ExternalEmailAddress $_.EmailNddress -OrganizationalUnit "testlab.local/extest" }

 

but we are receiving the following error in the attached picture


Viewing all articles
Browse latest Browse all 6937

Trending Articles