Lync Server Admin Guide: Configuring Your Network
Published May 20 2019 03:50 PM 120 Views
Occasional Visitor
First published on TECHNET on Jul 13, 2011





Enabling Call Admission Control




  • To enable CAC



To enable Call Admission Control, use the Set-CsNetworkConfiguration cmdlet and set the EnableBandwidthPolicyCheck parameter to True:



Set-CsNetworkConfiguration –Identity global –EnableBandwidthPolicyCheck $True



To disable Call Admission Control, set the EnableBandwidthPolicyCheck parameter to False:



Set-CsNetworkConfiguration –Identity global –EnableBandwidthPolicyCheck $False



For more information







Enabling Media Bypass




  • To enable and configure media bypass



To enable media bypass for Call Admission Control, you must first use the Get-CsNetworkConfiguration cmdlet to create an object reference to your current media bypass settings. You can modify those bypass settings in memory, then use the Set-CsNetworkConfiguration cmdlet to write the changes to Lync Server:



$x = (Get-CsNetworkConfiguration).MediaBypassSettings


$x.AlwaysBypass = $True


$x.Enabled = $True


$x.InternalBypassMode = "Any"


Set-CsNetworkConfiguration -MediaBypassSettings $x



A similar process is used to disable media bypass for Call Admission Control:



$x = (Get-CsNetworkConfiguration).MediaBypassSettings


$x.AlwaysBypass = $False


$x.Enabled = $False


$x.InternalBypassMode = $Null


Set-CsNetworkConfiguration -MediaBypassSettings $x



For more information








Configuring Location Policy




  • To view location policies



To view all your location policies, use the Set-CsLocationPolicy cmdlet:



Get-CsLocationPolicy



This command retrieves all the location policies configured at the site scope:



Get-CsLocationPolicy –Filter "site:*"



And this command retrieves the specified per-user location policy:



Get-CsLocationPolicy –Identity "RedmondLocationPolicy"





  • To create a new location policy



To create a new location policy, use the New-CsLocationPolicy cmdlet:



New-CsLocationPolicy -Identity site:Redmond -EnhancedEmergencyServicesEnabled $True



Location policies can be created at either the site or the per-user scope.





  • To modify a location policy



To modify a location policy, use the Set-CsLocationPolicy cmdlet:



Set-CsLocationPolicy -Identity site:Redmond -EnhancedEmergencyServicesEnabled $False





  • To delete a location policy



To delete a location policy, use the Remove-CsLocationPolicy cmdlet:



Remove-CsLocationPolicy -Identity site:Redmond



The following command removes all the location policies configured at the site scope:



Get-CsLocationPolicy –Filter "site:*" | Remove-CsLocationPolicy



And this command removes all the location policies configured at the per-user scope:



Get-CsLocationPolicy –Filter "tag:*" | Remove-CsLocationPolicy




For more information








Configuring Bandwidth Policy Profile




  • To create a new bandwidth policy profile



To create a new bandwidth policy profile use the New-CsNetworkBandwidthPolicyProfile cmdlet:



New-CsNetworkBandwidthPolicyProfile -Identity LowBWLimits -AudioBWLimit 2000 -AudioBWSessionLimit 200 -VideoBWLimit 1400 -VideoBWSessionLimit 500





  • To modify a bandwidth policy profile



To modify a bandwidth policy profile, use the Set-CsNetworkBandwidthPolicyProfile cmdlet:



Set-CsNetworkBandwidthPolicyProfile -Identity LowBWLimits -AudioBWLimit 1000





  • To delete a bandwidth policy profile



To delete a bandwidth policy profile, use the Remove-CsNetworkBandwidthPolicyProfile cmdlet:



Remove-CsNetworkBandwidthPolicyProfile -Identity LowBWLimits



This command deletes all your bandwidth policy profiles:



Get-CsNetworkBandwidthPolicyProfile | Remove-CsNetworkBandwidthPolicyProfile




For more information








Configuring Network Regions




  • To create a network region



To create a network region use the New-CsNetworkRegion cmdlet. Note that each new region must be associated with a central site:



New-CsNetworkRegion -Identity NorthAmerica -Description "All North American Locations" -CentralSite Redmond-NA-MLS -AudioAlternatePath $False -VideoAlternatePath $False





  • To modify a network region



To modify an existing network region, use the Set-CsNetworkRegion cmdlet:



Set-CsNetworkRegion -Identity EMEA -VideoAlternatePath $False






Version history
Last update:
‎May 20 2019 03:50 PM
Updated by: