I'm trying to import a bunch of contacts and I want to populate DisplayName by 
combining FirstName and LastName, is this possible? How would I do this? I 
would also like to take FirstName and Lastname in the CSV and use it for the 
Name parameter to make it the alias, ie. Jim.Little.

Any help would be great. I always appreciate it.

Thanks

Phil

Here's an example of what I have to work with. The script works when I manually 
populate the Name and DisplayName fields.

Import-CSV C:\employees-pl.csv | ForEach-Object{New-MailContact 
-ExternalEmailAddress $_.Emailaddress -DisplayName $_.DisplayName -Name $_.Name 
-FirstName $_.FirstName -LastName $_.LastName -OrganizationalUnit $_.OUpath}



FirstName LastName Emailaddress Name DisplayName OUPath 
Anna Little [email protected] 
 
 ad.domain.com/domain/domain contacts

Reply via email to