$photo = ([Byte[]] $(Get-Content -Path "C:\your-photo\file.jpg" -Encoding Byte -ReadCount 0))
Set-UserPhoto -Identity "user’s Display Name" -PictureData $photo -Confirm:$False
Set-UserPhoto -Identity "user’s Display Name" -Save -Confirm:$False
上传高分辨率照片到Lync和Exchange 2013/2016
原文地址:http://blog.51cto.com/3032439/2096786