PowerShell Logo Small

Set-NetTCPSetting



This is the built-in help made by Microsoft for the command 'Set-NetTCPSetting', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 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 TCP settings and configuration.

SYNTAX


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



Search powershellhelp.space

DESCRIPTION


The Set-NetTCPSetting cmdlet modifies information for each TCP setting. There will be different connection characteristics when connecting
over a wide area network and within a data center. Thus each TCP setting is optimized for different network conditions including latency and
congestion. The only modifiable TCP SettingName is Custom. To apply a TCP setting to a specific port number or destination IP address range,
use the New-NetTransportFilter cmdlet.



<

RELATED LINKS

Get-NetTCPSetting
Get-NetTransportFilter
Get-NetUDPSetting
New-NetTransportFilter
Remove-NetTransportFilter
Set-NetUDPSetting

REMARKS

<

Examples


EXAMPLE 1

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



This example sets the custom TCP setting to have a larger initial congestion window and use compound TCP.