Exchange 2010 Photos in the GAL – The Cmdlet
Posted by bluescreened on 13 July , 2010
So I said that I would post the cmdlet that you needed to update the photo into the GAL for Exchange 2010, well, who am I to dissapoint, here it is:
Import-RecipientDataProperty -Identity "Joe Bloggs" -Picture -FileData ([Byte[]]$(Get-Content -Path "C:\Wherever\JoeBloggs.jpg" -Encoding Byte -ReadCount 0))
Bear in mind - it is all one command line, the line breaks I have put in make it look nice on the page![]()
Advertisement