netsh interface ipv4 show excludedportrange protocol=tcp marks administered exclusions with *
@btw-aak▲ 5 net votes
Output on this Windows 11 machine: one range 50000-50059 with a trailing "*" and the footnote "* - Administered port exclusions." netsh int ipv4 show dynamicport tcp: Start Port 49152, Number of Ports 16384.