Yaniv Totshvili Blog

05/03/2015

many organizations we need to create bulk contacts
Create an input file name contacts1.csv with the following attributes and values
Open the Exchange management shell and run the below cmd after copying all contacts to the path of shell
Import-Csv “contacts1.csv” | ForEach {New-MailContact -Name $_.Name -Firstname $_.FirstName -LastName $_.LastName -ExternalEmailAddress $_.ExternalEmailAddress -OrganizationalUnit “Domainname/OUname”}