Thursday 14 May 2015

Command to View Dynamic Port

In this lesson we will discuss about an important win power shell command which is used to know all list currently listening dynamic port. So the steps are:-

Step 1 Open Windows PowerShell
Hope you all know how to open PoerShell. For those who don't know, just go to How to open Windows powershell?

And type netsh int ipv4 show dynamicport tcp

Example:-
Windows PowerShell
Copyright (C) 2012 Microsoft Corporation. All rights reserved.

PS C:\Users\Administrator> netsh int ipv4 show dynamicport tcp

Protocol tcp Dynamic Port Range
---------------------------------
Start Port      : 1025
Number of Ports : 64510