Showing posts with label Grant-CsVoicePolicy-Identity. Show all posts
Showing posts with label Grant-CsVoicePolicy-Identity. Show all posts

20 July, 2012

How to assign a User-specific voice policy?

How to assign a User-specific voice policy?

Hello Guys,

Many times we have to create multiple voice policies for different purpose. After creating voice policies we have assign the same to specific user, as per requirements.

This article will help to assign the voice policies to specific user. You need to assign either a global voice policy or per-user voice policy to all user accounts that are enabled for Enterprise Voice. User accounts can use the global voice policy by default when you do not assign an existing voice policy that you created for specific users or groups of users.
Assign a user-specific voice policy:
1. 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. Start Lync Management Shell: Click Start, click All Programs, click MS Lync 2010, and then click Lync Management Shell.
3. To assign an existing voice policy you created for specific users or groups of users, run the following at the command prompt:

Grant-CsVoicePolicy-Identity <UserIdParameter>-PolicyName<String>

For example: Grant-CsDialPlan -Identity "Balu Ilag" -PolicyNameVoicePolicyIndia
In this example, the user with the display name Balu Ilag is assigned the voice policy with the name VoicePolicyIndia.
Thank you.