Assign policies in Lync Server 2013 to a common area phone
Topic Last Modified: 2013-02-20
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. These cmdlets can be run either from the Lync Server 2013 Management Shell or from a remote session of Windows PowerShell. For 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 http://go.microsoft.com/fwlink/p/?linkId=255876.
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"
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"
For details, see the Help topics for the Grant-CsVoicePolicy.