Controlling call forwarding

Call forwarding is a feature usually managed on the client side of Lync. If call-forwarding options are enabled, users can forward phone calls to another number or to another contact. The Set-CsVoicePolicy and Get-CsVoicePolicy cmdlets enable the Lync administrator to centrally manage this feature.

How to do it...

  1. Our company's requirement is to disable call forwarding for the users that are included in the UK-London-Local voice policy. The first step is to verify which voice policies enable the feature. We can use the following statement:
    Get-CsVoicePolicy | Where-Object {$_.AllowCallForwarding -eq $True} 
  2. The UK-London-Local policy allows all forwarding. To disable it, we can use the following command:
    Set-CsVoicePolicy ...

Get Lync Server Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.