EXCH 2010 – Adding Thumbnail Pictures

The following command imports a picture to the thumbnailphoto attribute in AD. This can be used by Outlook, Lync, SharePoint and other application to display a users picture.

Import-RecipientDataProperty -Identity “mailbox name” -Picture -FileData ([Byte[]]$(Get-Content -Path “D:Picturesbob.jpg” -Encoding Byte -ReadCount 0))

Thumbnail image must be less than 10k.

Andrew Morpeth
Andrew Morpethhttps://ucgeek.co/author/amorpeth/
Andrew is a Modern Workplace Consultant specialising in Microsoft technologies based in Auckland, New Zealand; Andrew is a Director and Professional Services Manager at Lucidity Cloud Services and a Microsoft MVP.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Andrew Morpeth
Andrew Morpethhttps://ucgeek.co/author/amorpeth/
Andrew is a Modern Workplace Consultant specialising in Microsoft technologies based in Auckland, New Zealand; Andrew is a Director and Professional Services Manager at Lucidity Cloud Services and a Microsoft MVP.

Latest Articles