在 Lync Server 2013 中指派每位使用者的語音原則Assign a per-user voice policy in Lync Server 2013

 

全域與網站層級語音原則會自動指派給所有啟用 Enterprise Voice 的 Lync Server 2013 使用者帳戶。Global and site-level voice policies are automatically assigned to all Lync Server 2013 user accounts that are enabled for Enterprise Voice. 您也可以使用 Lync Server 2013 控制台或 Lync Server 2013 管理命令介面,將語音原則指派給特定使用者。You can also assign voice policies to specific users by using either the Lync Server 2013 Control Panel or the Lync Server 2013 Management Shell. 使用本主題中的程式,將每一使用者原則明確指派給 Lync Server 使用者。Use the procedures in this topic to explicitly assign per-user policies to Lync Server users.

使用 Lync Server 控制台指派使用者特有的語音原則To assign a user-specific voice policy using the Lync Server Control Panel

  1. 從指派給 CsUserAdministrator 角色或 CsAdministrator 角色的使用者帳戶,登入內部部署中的任何電腦。From a user account that is assigned to the CsUserAdministrator role or the CsAdministrator role, log on to any computer in your internal deployment.

  2. 開啟瀏覽器視窗,然後輸入管理 URL 以開啟 Lync Server 控制台。Open a browser window, and then enter the Admin URL to open the Lync Server Control Panel. 如需您可以用來啟動 Lync Server 控制台之不同方法的詳細資訊,請參閱 Open Lync server 2013 系統管理工具For details about the different methods you can use to start Lync Server Control Panel, see Open Lync Server 2013 administrative tools.

  3. 在左導覽列中,按一下 [使用者],然後搜尋想要設定的使用者帳戶。In the left navigation bar, click Users, and then search on the user account that you want to configure.

  4. 在列出搜尋結果的表格中,按一下使用者帳戶,並依序按一下 [編輯][顯示詳細資料]In the table that lists the search results, click the user account, click Edit, and then click Show details.

  5. 在 [語音原則] 底下的 [編輯 Lync Server 使用者] 中,選取您要套用的使用者原則。In Edit Lync Server User under Voice policy, select the user policy that you want to apply.

    注意

    < 自動 > 設定會套用預設伺服器或全域原則設定。The <Automatic> settings apply the default server or global policy settings.

指派每位使用者的語音原則Assign per-user voice policies

您可以使用 Windows PowerShell 和 Grant-CsVoicePolicy Cmdlet 指派每位使用者的語音原則。You can assign per-user voice policies by using Windows PowerShell and the Grant-CsVoicePolicy cmdlet. 您可以從 Lync Server 2013 管理命令介面或從 Windows PowerShell 的遠端會話中執行此 Cmdlet。You can run this cmdlet 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 2010To learn about using remote Windows PowerShell to connect to Lync Server, read this Lync Server Windows PowerShell blog post: Quick Start: Managing Microsoft Lync Server 2010 Using Remote PowerShell.

將每一使用者語音原則指派給單一使用者Assign a per-user voice policy to a single user

  • 下列命令會將每位使用者的語音原則 RedmondVoicePolicy 指派給使用者 Ken Myer。The following command assigns the per-user voice policy RedmondVoicePolicy to the user Ken Myer.

    Grant-CsVoicePolicy -Identity "Ken Myer" -PolicyName "RedmondVoicePolicy"
    

將每一使用者語音原則指派給多位使用者Assign a per-user voice policy to multiple users

  • 這個命令會將個別使用者的語音原則 FinanceVoicePolicy 指派給在 Active Directory 之財務 OU 中具有帳戶的所有使用者。This command assigns the per-user voice policy FinanceVoicePolicy to all the users who have accounts in the Finance OU in Active Directory. 如需此命令中所使用之 OU 參數的詳細資訊,請參閱 Get-CsUser Cmdlet 的檔。For more information on the OU parameter used in this command, see the documentation for the Get-CsUser cmdlet.

    Get-CsUser -OU "ou=Finance,ou=North America,dc=litwareinc,dc=com" | Grant-CsVoicePolicy -PolicyName "FinanceVoicePolicy"
    

取消指派個別使用者的語音原則Unassign a per-user voice policy

  • 下列命令 unassigns 先前指派給 Ken Myer 的任何個別使用者語音原則。The following command unassigns any per-user voice policy previously assigned to Ken Myer. 一旦解除指派個別使用者原則後,系統會自動使用全域原則或其本機網站原則 (如果有的話) 來管理 Ken Myer。After the per-user policy is unassigned, Ken Myer will automatically be managed by using the global policy or, if one exists, his local site policy. 網站原則優先順序高於全域原則。A site policy takes precedence over the global policy.

    Grant-CsVoicePolicy -Identity "Ken Myer" -PolicyName $Null
    

如需詳細資訊,請參閱 Grant-CsVoicePolicy Cmdlet 的 [說明] 主題。For more information, see the help topic for the Grant-CsVoicePolicy cmdlet.

另請參閱See Also

停用 Lync Server 2013 的 Enterprise Voice 使用者Disable a user for Enterprise Voice in Lync Server 2013

Lync Server 2013 管理命令介面Lync Server 2013 Management Shell