將 Lync Server 2013 中的原則指派給一般區域電話Assign policies in Lync Server 2013 to a common area phone

 

主題上次修改日期: 2013-02-20Topic Last Modified: 2013-02-20

在您建立通用區域電話的原則 (如需詳細資訊,請參閱 在 Lync Server 2013) 中建立語音原則和設定 PSTN 使用方式記錄 ,您可以使用 Windows PowerShell 和適當的 授與 Cs Cmdlet,將原則指派給公用區域電話。After you create your policy for common area phones (for details, see Create a voice policy and configure PSTN usage records in Lync Server 2013), you can assign the policy to a common area phone by using Windows PowerShell and the appropriate Grant-Cs cmdlet. 您可以從 Lync Server 2013 管理命令介面或從 Windows PowerShell 的遠端會話執行這些 Cmdlet。These cmdlets can be run either from the Lync Server 2013 Management Shell or from a remote session of Windows PowerShell. 如需使用遠端 Windows PowerShell 連接至 Lync Server 的詳細資訊,請參閱 Lync Server Windows PowerShell 博客文章「快速入門:使用遠端 PowerShell 管理 Microsoft Lync Server 2010」 at https://go.microsoft.com/fwlink/p/?linkId=255876For details about using remote Windows PowerShell to connect to Lync Server, see the Lync Server Windows PowerShell blog article "Quick Start: Managing Microsoft Lync Server 2010 Using Remote PowerShell" at https://go.microsoft.com/fwlink/p/?linkId=255876.

將原則指派給單一公共區域電話Assigning a Policy to a Single Common Area Phone

  • 下列命令會將個別使用者的語音原則 RedmondVoice 指派給具有身分識別組建14會議廳的一般區域電話。The following command assigns the per-user voice policy RedmondVoice to the common area phone that has the Identity Building 14 Lobby.

    Grant-CsVoicePolicy -Identity "Building 14 Lobby" -PolicyName "RedmondVoicePolicy"
    

將原則指派給多個公共區域電話Assigning a Policy to Multiple Common Area Phones

  • 在此範例中,會將每位使用者的語音原則 RedmondVoice 指派給所有設定供組織使用的公用區域電話。In this example, the per-user voice policy RedmondVoice is assigned to all the common area phones configured for use in the organization.

    Get-CsCommonAreaPhone | Grant-CsVoicePolicy  -PolicyName "RedmondVoicePolicy"
    

如需詳細資訊,請參閱 Grant-CsVoicePolicy的說明主題。For details, see the Help topics for the Grant-CsVoicePolicy.