Browse Source

Removed the testing string so this is now live code.

master
Pugnacious 2 years ago
parent
commit
e98e07a7c9
  1. 2
      bulk_import.ps1

2
bulk_import.ps1

@ -4,4 +4,4 @@
# New-Mailcontact -Name <NAME> -ExternalEmailAddress: <email> -OrganizationalUnit dw.hfecorp.loca/Contacts -Alias <name with no spaces>
#
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