Create Email enabled contacts bulk

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”}

Leave a Reply

Your email address will not be published.


CAPTCHA Image
Reload Image

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

WhatsApp Logo IT World