23 C
Dubai
Saturday, December 21, 2024

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”))

Satheshwaran Manoharan
Satheshwaran Manoharanhttps://www.azure365pro.com
Award-winning Technology Leader with a wealth of experience running large teams and diversified industry exposure in cloud computing. From shipping lines to rolling stocks.In-depth expertise in driving cloud adoption strategies and modernizing systems to cloud native. Specialized in Microsoft Cloud, DevOps, and Microsoft 365 Stack and conducted numerous successful projects worldwide. Also, Acting as a Technical Advisor for various start-ups.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

× How can I help you?