Home » Exchange Server 2010 » Exchange Miscellaneous » Create mail enabled contacts in bulk

Translate:

Archives

Create mail enabled contacts in bulk

Today let’s see how to create mail enabled users in bulk

 

Create an input file name Contacts1.csv with the following attributes and values as shown below:

mailenabled1

 

 

Open the Exchange management shell “Run as Administrator” and run the below cmd after copying all contacts to the path of shell

 

Locate to Scripts Folder as shown below

mailenabled2

 

Command :

Import-Csv “contacts1.csv” | ForEach {New-MailContact -Name $_.Name -Firstname $_.FirstName -LastName $_.LastName -ExternalEmailAddress $_.ExternalEmailAddress -OrganizationalUnit “Domainname/OUname”}

mailenabled3

 

Praveen Kumar

MCTS, MCITP | Exchange Server

Publisher @ Techrid.com

 


Leave a comment

Translate »