PowerShell script to import mail contacts from a CSV file into Exchange
  • PowerShell 100%
Find a file
2018-10-22 08:56:52 +10:00
Tutorial Part 1 Tidied up the code ready for part 2 of tutorial 2016-11-22 15:29:16 +10:00
Tutorial Part 2 Added copy of script to part 2 folder for tutorial 2016-11-22 21:20:00 +10:00
Tutorial Part 3 Added copy of script to part 3 folder for tutorial 2016-11-22 21:20:34 +10:00
.gitattributes :neckbeard: Added .gitattributes 2016-11-22 13:28:29 +10:00
Import-MailContactsFromCSV.ps1 Update Import-MailContactsFromCSV.ps1 2018-10-22 08:56:52 +10:00
LICENSE Create LICENSE 2016-11-22 21:54:01 +10:00
README.md Update README.md 2018-10-22 08:52:21 +10:00

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.