/Import-MailContactsFromCSV

PowerShell script to import mail contacts from a CSV file into Exchange

Primary LanguagePowerShellMIT LicenseMIT

Import-MailContactsFromCSV.ps1

This PowerShell script will take contact data from a CSV file and create mail contacts in Exchange. Results are written to a results.log file.

Usage

  • -CSVFileName - Use this parameter to specify a different CSV file name than the default "contacts.csv".
  • -OU - Use this parameter to specify an organizational unit for the contacts to be created in.
.\Import-MailContactsFromCSV.ps1 -CSVFileName externalcontractors.csv

Credits

Written by: Paul Cunningham

Find me on:

Check out my books and courses to learn more about Office 365 and Exchange Server.