Wednesday , June 10 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

Optimize Antispam Settings in Office 365

Lets see how to optimize anti spam settings in office 365. Anti spam settings can …

Leave a Reply

Your email address will not be published.