How to assign Lync Voice Policy to all the Users of Domain
The following command is used in PowerShell to grant a voice policy to all the users of a domain.
“Get-CsUser -OU "ou=<domain>,ou=<OU>,dc=<>,dc=<>" | Grant-CsVoicePolicy -PolicyName "<Policy name>"”
By this command first we are getting the users of a whole OU and granting them voice policy.
Lync Servervoice policiesdefine the following for each user, site, or organization that is assigned the policy:
- A set of calling features that can be enabled or disabled to determine the Enterprise Voice functionality available to users.
- A set of public switched telephone network (PSTN) usage records that define what types of calls are authorized.