Add users photo to Exchange with powershell (Add corporate head shot to a user account in Exchange) for Outlook and Lync

The photo must be 96×96 and less than 10k. Photoshop can do this

Import-RecipientDataProperty -Identity “USERNAME” -Picture -FileData ([Byte[]]$(Get-Content -Path “C:\temp\PICTURENAME.jpg” -Encoding Byte -ReadCount 0))

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s