To round out the Vcard export scripts as many people are still running Exchange 2010 here's a Remote powershell script that will allow you to export Mailboxes (or contacts) from Active directory to Vcards and also include the GAL Photo from the AD thumbnail property if set. The script uses the Get-User Exchange Management Shell cmdlet to get all the Mailboxes details to include in the Vcard file and also use LDAP to read the AD thumbnailPhoto (if its been set). before you run this script make sure you set the following variable to the directory you want the vcards exported to $exportFolder = "c:\temp\" You need to run this script from within the Exchange Management Shell or a Remote Powershell session I've put a download of this script here the code looks like $exportFolder = "c:\temp\" $Mailboxes = Get-User -RecipientTypeDetails UserMailbox foreach($Mailbox in $Mailboxes){ ...
Pushing the Envelope in Messaging and Office 365 Development