说明:

  1. 图片大小尺寸为96*96像素比较理想的,大小不要超过10K.

  2. 用户头像跟 AD 中的一个对象属性“thumbnailPhoto”有关,在MMC中加载活动目录架构 属性里面找到THUMBNAILPHOTO即可看到,在成功安装完EXCHANGE后此属性自动选择“将此属性复制到全局编录”复选框。

    截图如下:

    使用powershell命令 添加exchange用户头像

powershell命令如下(在EMS中运行):

Import-RecipientDataProperty -Identity cxw -Picture -FileData ([Byte[]]$(Get-Content -Path "d:\t.jpg" -Encoding Byte -ReadCount 0))

截图如下:

使用powershell命令 添加exchange用户头像


操作完成。


转载于:https://blog.51cto.com/seawind/2096373

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-16
  • 2022-02-13
  • 2021-08-27
  • 2022-12-23
  • 2022-12-23
  • 2021-07-09
猜你喜欢
  • 2022-12-23
  • 2022-02-25
  • 2022-12-23
  • 2021-10-18
  • 2021-12-30
  • 2022-12-23
相关资源
相似解决方案