Browse Source

Added comments.

master
Pugnacious 2 years ago
parent
commit
55e34d62ab
  1. 2
      bulk_import.ps1

2
bulk_import.ps1

@ -4,4 +4,6 @@
# New-Mailcontact -Name <NAME> -ExternalEmailAddress: <email> -OrganizationalUnit dw.hfecorp.loca/Contacts -Alias <name with no spaces>
#
# use the following command for a test import that doesn't edit live data.
# Import-CSV contacts.csv | ForEach-Object {New-MailContact -Name $_.Name -ExternalEmailAddress $_.ExternalEmailAddress -OrganizationalUnit $_.OrganizationalUnit -WhatIf}
Import-CSV contacts.csv | ForEach-Object {New-MailContact -Name $_.Name -ExternalEmailAddress $_.ExternalEmailAddress -OrganizationalUnit $_.OrganizationalUnit}

Loading…
Cancel
Save