Lync Server 2013 中的通讯簿管理 Update-CsAddressBookUpdate-CsAddressBook for Address Book management in Lync Server 2013

 

上次修改的主题: 2012-11-01Topic Last Modified: 2012-11-01

谁能运行此 cmdlet:默认情况下,以下各组的成员有权在本地运行 Update-CsAddressBook cmdlet:RTCUniversalUserAdmins、RTCUniversalServerAdmins。要返回分配了此 cmdlet 的所有基于角色的访问控制 (RBAC) 角色列表(包括您自己创建的任何自定义 RBAC 角色),请从 Windows PowerShell 提示符处运行以下命令:Who can run this cmdlet: By default, members of the following groups are authorized to run the Update-CsAddressBook cmdlet locally: RTCUniversalUserAdmins, RTCUniversalServerAdmins. To return a list of all the role-based access control (RBAC) roles this cmdlet has been assigned to (including any custom RBAC roles you have created yourself), run the following command from the Windows PowerShell prompt:

Get-CsAdminRole | Where-Object {$_.Cmdlets -match "Update-CsAddressBook"}

Update-CsAddressBook cmdlet 可替代 Office Communications Server 中的 abserver.exe –syncNow 命令。该 cmdlet 的用途是立即启动同步,而不是等到安排的时间才启动。第一个示例命令更新组织中的所有通讯簿。第二个示例命令仅更新与定义的服务器关联的通讯簿。The Update-CsAddressBook cmdlet replaces the abserver.exe –syncNow command from Office Communications Server. The cmdlet’s purpose is to initiate a synchronization immediately rather than waiting for the scheduled time. The first example command updates all Address Books in the organization. The second updates only the Address Book associated with the defined server.

备注

在 Lync Server 2013 中,Lync Server 用户复制器将从 Active Directory 中获取更改,并根据配置的间隔更新 Lync Server 用户数据库。In Lync Server 2013, Lync Server User Replicator will pick up the changes from Active Directory and update the Lync Server user database based on a configured interval. Lync Server 用户复制程序还会快速将更改传播到 RTCab 数据库,而管理员必须运行更新-CSAddressBook。Lync Server User Replicator will also propagate the changes to the RTCab database quickly without the administrator having to run Update-CSAddressBook. 只有在启用了通讯簿文件下载时,管理员才需要运行 CSAddressBook 更新。Administrators will only need to run Update -CSAddressBook if the Address Book file download is enabled.

例如:For example:

 Update-CsAddressBook
 Update-CsAddressBook -Fqdn atl-abs-001.contoso.com