Microsoft Windows [Version 6.0.6001] (C) Copyright 2006 Microsoft Corp. c:\windows>netsh interface ipv4 set dynamicportrange ?
Usage: set dynamicportrange [protocol=]tcp|udp
[startport=][numberofports=][[store=]active|persistent]
Parameters:
Tag Value
protocol - One of the following values:
tcp: modify the dynamic port range for TCP.
udp: modify the dynamic port range for UDP.
startport - The starting port for dynamic port assignment.
numberofports - The number of ports available for dynamic port
assignment.
store - One of the following values:
active: Set only lasts until next boot.
persistent: Set is persistent. This is
the default.
Remarks: Modifies the range of ports used for dynamic port assignment.
Dynamic port assignment is also known as wildcard port assignment.
Example:
set dynamicportrange protocol=tcp startport=10000 numberofports=20000