I recently needed to add 50 new contacts into my Exchange 2007 server and had no intention of completing this task by manually. I am not the greatest PowerShell guy but I knew this would be easy… and it was.

Create a file named C:\CONTACTS.CSV file like following

Tom Test,tomtest,ttest@test.com,ttest,CEO,TGS,Surveys
John Rotten,JohnRotten,john.rotten@test2.com,ttest,Chief Financial Officer, TGS,Corporate

Launch EXCHANGE POWER SHELL and use the following command:

import-csv c:\contacts.csv | foreach { new-mailcontact -alias $_.Alias -name $_.displayName -ExternalEmailAddress $_.eMailAddress -OrganizationalUnit “arcis1.local/Arcis Exchange Resources/TGS-Contacts” }


Leave a Reply

Avatar placeholder

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