Skip to content

Commit

Permalink
Update BBRv2Enable.ps1
Browse files Browse the repository at this point in the history
Signed-off-by: Jauder Ho <[email protected]>
  • Loading branch information
jauderho committed Oct 2, 2024
1 parent ba63fe6 commit 35c8c70
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions BBRv2Enable.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ Write-Output 'Running with full privileges...'

function Enable-BBRv2 {
# Use "Get-NetTCPSetting | Select SettingName, CongestionProvider" to get current settings
netsh int tcp set supplemental Template=Internet CongestionProvider=bbr2
netsh int tcp set supplemental Template=Datacenter CongestionProvider=bbr2
netsh int tcp set supplemental Template=Compat CongestionProvider=bbr2
netsh int tcp set supplemental Template=DatacenterCustom CongestionProvider=bbr2
netsh int tcp set supplemental Template=InternetCustom CongestionProvider=bbr2

Set-NetTCPSetting -SettingName "Internet" -CongestionProvider BBR2
Set-NetTCPSetting -SettingName "Datacenter" -CongestionProvider BBR2
Expand Down

0 comments on commit 35c8c70

Please sign in to comment.