Excellent article Microsoft

https://support.microsoft.com/en-us/help/929851/the-default-dynamic-port-range-for-tcp-ip-has-changed-in-windows-vista-and-in-windows-server-2008


netsh int ipv4 show dynamicport tcp
netsh int ipv4 show dynamicport udp
netsh int ipv6 show dynamicport tcp
netsh int ipv6 show dynamicport udp

netstat -abn | find /c ":"


Get-Counter -Counter \TCPv4\*
Get-Counter -Counter \TCPv6\*

Rate this post