TechRid

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

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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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

%d bloggers like this: