Sunday , April 5 2020

Quick Tip – Import-RecipientDataProperty – Exchange 2013

image

Exchange 2013 has a Cmdlet to Import Mailbox/Contact display Picture.

Import-RecipientDataProperty -Identity Cloud@careexchange.in -Picture -FileData ([Byte[]]$(Get-Content -Path “C:\Users\photo\Cloudteam.jpg” -Encoding Byte -ReadCount 0))

Note – The picture must be a JPEG file and shouldn’t be larger than 10 kilobytes (KB)

You can pipe Mail Contacts and Mailbox from Exchange Management Shell.

Other Cmdlet can be used

Set-UserPhoto “Cloud@careexchange.in” -PictureData ([System.IO.File]::ReadAllBytes(“C:\Users\photo\Cloudteam.jpg”))

About Satheshwaran Manoharan

Satheshwaran Manoharan is an Microsoft Office Server and Services MVP , Publisher of Azure365pro.com. Specialized in Office365 / Microsoft Exchange / Virtualization , Sathesh is an Messaging Expert supporting/Designing/Deploying many medium size businesses to large enterprises when it comes to Corporate messaging and Virtualization Infrastructure

Check Also

Some Mails Getting Converted to Chinese Characters

Some Emails in Outlook 2016 will Convert to Chinese Characters after reading some after archiving …

Leave a Reply

Your email address will not be published.