PowerShell Logo Small

Set-NetUDPSetting



This is the built-in help made by Microsoft for the command 'Set-NetUDPSetting', 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 UDP settings.

SYNTAX


Set-NetUDPSetting [-AsJob] [-CimSession <CimSession[]>] [-DynamicPortRangeNumberOfPorts <UInt16>] [-DynamicPortRangeStartPort <UInt16>] [-InputObject <CimInstance[]>]
[-PassThru] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-NetUDPSetting cmdlet modifies UDP settings of the IP interface. Use this cmdlet to change the starting port and the number of ports for the dynamic port range. You
can use the InputObject parameter to specify a NetUDPSetting object for the input to this cmdlet. Use the Get-NetUDPSetting to get a NetUDPSetting object.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=289173
Get-NetTransportFilter
Get-NetUDPSetting
Set-NetTCPSetting

REMARKS

<

Examples


Example 1: Modify the dynamic port range for UDP

PS C:\>Set-NetUDPSetting –DynamicPortRangeStartPort 49152 –DynamicPortRangeNumberOfPorts 1700



This command modifies the port range from which applications can send and receive UDP traffic.