mirror of
https://github.com/cunninghamp/Import-MailContactsFromCSV.git
synced 2026-04-25 03:55:47 +03:00
PowerShell script to import mail contacts from a CSV file into Exchange
- PowerShell 100%
| Tutorial Part 1 | ||
| Tutorial Part 2 | ||
| Tutorial Part 3 | ||
| .gitattributes | ||
| Import-MailContactsFromCSV.ps1 | ||
| LICENSE | ||
| README.md | ||
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:
- My Blog: https://paulcunningham.me
- Twitter: https://twitter.com/paulcunningham
- LinkedIn: https://au.linkedin.com/in/cunninghamp/
- Github: https://github.com/cunninghamp
Check out my books and courses to learn more about Office 365 and Exchange Server.