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 資料庫,而不需管理員必須執行 Update-csaddressbook 的更新。Lync Server User Replicator will also propagate the changes to the RTCab database quickly without the administrator having to run Update-CSAddressBook. 只有在啟用通訊錄檔案下載時,系統管理員才需要執行 Update-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