Exchange 2016 多站点创建oab shadow 副本

多个区域站点部署Exchange 2016 时,Outlook 客户端下载oab 时,可能因为带宽的关系,无法正常下载,或影响带宽占用,建议在每个站点分别创建oab 副本,这样每个站点下的用户下载oab 时,连接本地服务器,下载失败后才会连接源OAB的服务器

###检索用于生成oab 的邮箱

Get-Mailbox -IgnoreDefaultScope -Arbitration |?{$_.PersistedCapabilities -like "*oabgen*"} |ft -AutoSize

##创建其他站点生成oab的邮箱

New-Mailbox -Name TJOAB -UserPrincipalName TJoab@contoso.com  -Alias tjoab -Arbitration -database tj-db-10

New-Mailbox -Name SHOAB -UserPrincipalName SHoab@contoso.com  -Alias SHoab -Arbitration -database sh-db-10

Get-Mailbox -Arbitration -Identity *oab -IgnoreDefaultScope | ft Name,Per* -AutoSize

## 检查当前的OAB 卷影副本分发属性是否启用

Get-OfflineAddressBook |fl name,Shadow*

如果ShadowMailboxDistributionEnabled 为false

请使用Get-OfflineAddressBook |set-OfflineAddressBook -ShadowMailboxDistributionEnabled $true

## 启用站点邮箱创建oab 属性

Get-Mailbox -Arbitration -Identity *oab -IgnoreDefaultScope  |Set-Mailbox -Arbitration -IgnoreDefaultScope -OABGen $true 

手动更新下 OAB

Get-OfflineAddressBook |update-OfflineAddressBook

posted @ 2019-12-04 14:15  OpenPoint  阅读(574)  评论(0编辑  收藏  举报