Hello,
I use this command for import a CSV:
import-csv c:\import3.csv -Delimiter ';' | foreach { new-mailcontact -alias $_.Alias -name $_.DisplayName -ExternalEmailAddress $_.EmailAddress -OrganizationalUnit domaine.com/architecture/utilisateurs/Contacts}
My CSV like that:
Name;DisplayName;EmailAddress;Alias
All is OK
Now i want import more informations for the contacts but i don't find the solution.
1) Where can i find all the objects possible to add in a contact list ?
2) I try that just for add the phone number but i have an invalidArgument
import-csv c:\import3.csv -Delimiter ';' | foreach { new-mailcontact -alias $_.Alias -name $_.DisplayName -ExternalEmailAddress $_.EmailAddress -Phone $_.Phone -OrganizationalUnit domaine.com/architecture/utilisateurs/Contacts}
In my CSV:
Name;DisplayName;EmailAddress;Alias;Phone