PowerShell Logo Small

Set-NetTCPSetting



This is the built-in help made by Microsoft for the command 'Set-NetTCPSetting', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Modifies a TCP setting.

SYNTAX


Set-NetTCPSetting [[-SettingName] <String[]>] [-AsJob] [-AutomaticUseCustom <AutomaticUseCustom>] [-AutoTuningLevelLocal <AutoTuningLevelLocal>] [-CimSession <CimSession[]>]
[-CongestionProvider <CongestionProvider>] [-CwndRestart <CwndRestart>] [-DelayedAckFrequency <Byte>] [-DelayedAckTimeoutMs <UInt32>] [-DynamicPortRangeNumberOfPorts
<UInt16>] [-DynamicPortRangeStartPort <UInt16>] [-EcnCapability <EcnCapability>] [-ForceWS <ForceWS>] [-InitialCongestionWindowMss <UInt32>] [-InitialRtoMs <UInt32>]
[-MaxSynRetransmissions <Byte>] [-MemoryPressureProtection <MemoryPressureProtection>] [-MinRtoMs <UInt32>] [-NonSackRttResiliency <NonSackRttResiliency>] [-PassThru]
[-ScalingHeuristics <ScalingHeuristics>] [-ThrottleLimit <Int32>] [-Timestamps <Timestamps>] [-Confirm] [-WhatIf] [<CommonParameters>]
Set-NetTCPSetting [-AsJob] [-AutomaticUseCustom <AutomaticUseCustom>] [-AutoTuningLevelLocal <AutoTuningLevelLocal>] [-CimSession <CimSession[]>] [-CongestionProvider
<CongestionProvider>] [-CwndRestart <CwndRestart>] [-DelayedAckFrequency <Byte>] [-DelayedAckTimeoutMs <UInt32>] [-DynamicPortRangeNumberOfPorts <UInt16>]
[-DynamicPortRangeStartPort <UInt16>] [-EcnCapability <EcnCapability>] [-ForceWS <ForceWS>] [-InitialCongestionWindowMss <UInt32>] [-InitialRtoMs <UInt32>]
[-MaxSynRetransmissions <Byte>] [-MemoryPressureProtection <MemoryPressureProtection>] [-MinRtoMs <UInt32>] [-NonSackRttResiliency <NonSackRttResiliency>] [-PassThru]
[-ScalingHeuristics <ScalingHeuristics>] [-ThrottleLimit <Int32>] [-Timestamps <Timestamps>] -InputObject <CimInstance[]> [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-NetTCPSetting cmdlet modifies a TCP setting. TCP settings are optimized for different network conditions including latency and congestion. To apply a TCP setting to
a port number or destination IP address range, create a transport filter by using the New-NetTransportFilter cmdlet.


You can only modify the Custom TCP setting.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkID=289172
Get-NetTCPSetting
Get-NetTransportFilter
Get-NetUDPSetting
New-NetTransportFilter
Remove-NetTransportFilter
Set-NetUDPSetting

REMARKS

<

Examples


Example 1: Change the custom TCP setting

PS C:\>Set-NetTCPSetting –SettingName Custom –CongestionProvider CTCP –InitialCongestionWindowMss 6



This command changes the custom TCP setting to have a value of 6 for the initial congestion window and use compound TCP.