Create contacts on Exchange using EMS

To create a contact on Exchange 2010, 2013 & Exchange Online using EMS the command is:

New-MailContact -DisplayName "Display Name" -ExternalEmailAddress "[email protected]" -Name "Alias"

To create contacts from a list, using a bulk command first create a csv file with th contacts. The csv must have the Display Name, the Email Address and the alias for each contact. The run the below command:

Import-Csv C:tempcontacts.csv|%{New-MailContact -Name $_.alias -DisplayName $_.DisplayName -ExternalEmailAddress $_.EmailAddress}




Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.