Thursday, May 1, 2014

Add pictures for users on Active Directory via Exchange Management Shell for Exchange 2010 and 2013

Open Exchange Management Shell and Type the following cmdlet in EMS:

Import-RecipientDataProperty -Identity "Sai Kumar" -Picture -FileData ([Byte[]] $(Get-Content -Path "D:\pic\sai.jpg" -Encoding Byte -ReadCount 0))

The picture can be seen in the Pic Below: 

Note: Picture seems to get displayed in Outlook 2007 and 2010, I guess there is a known issue with Outlook 2013 as pic doesn't get displayed. Will share a workaround if i find any :D


No comments: