

This will work, but it’s an Outlook-only solution because Outlook is the only email client that understands how to use the shared contacts from a public folder as an address list (see below) The Essential People public folder stores contacts and shows up in Outlook as an address list Mail Contacts Have Best Client Support

The only solution they had discovered was to create a public folder to hold contacts.


You can get more information about the Get-Contact Powershell cmdlet here. Set-Contact $Name -StreetAddress $StreetAddress -City $City -StateorProvince $StateorProvince -PostalCode $PostalCode -Phone $Phone -MobilePhone $MobilePhone -Pager $Pager -HomePhone $HomePhone -Company $Company -Title $Title -Department $Department -Fax $Fax -Initials $Initials -Notes $Notes -Office $Office New-MailContact -Name $Name -DisplayName $DisplayName -ExternalEmailAddress $ExternalEmailAddress -FirstName $FirstName -LastName $LastName $ExternalEmailAddress =$Contact.ExternalEmailAddress $StateorProvince =$Contact.StateorProvince #For each contact foreach ( $Contact in $Contacts ) $CSVFileName = "Contacts_Export.csv" #Create the CSV file New-Item $CSVFileName - type file -force #Write the first line into the CSV file Add-Content $CSVFileName "DisplayName,Name,ExternalEmailAddress,FirstName,LastName,StreetAddress,City,StateorProvince,PostalCode,Phone,MobilePhone,Pager,HomePhone,Company,Title,OtherTelephone,Department,Fax,Initials,Notes,Office,Manager" #Get Contact from Exchange $Contacts = Get -Contact
