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.
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}
The UK-London-Local policy allows all forwarding. To disable it, we can use the following command:
Set-CsVoicePolicy UK-London-Local -Allowcallforwarding $false