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

Adding [EXTERNAL] for emails with Auto Remove on Reply

In the world of spam and the number of phishing emails is increasing day by …

Leave a Reply

Your email address will not be published.