Today we will talk about commands which will give you more information about Ports on your machine and Server. 1) Portqry Use following syntax for the same. Portqry – e PORT -n SERVERNAME 2) Tect-Netconnection https://technet.microsoft.com/en-us/library/dn372891(v=wps.630).aspx Test-NetConnection – I used it today to check if the HTTPS port (443) was active on a test server I was working on. Pretty useful command! There is a parameter called ‘CommonTCPPort’ and you can use it to check if SMB,HTTP,RDP, or Ping are available.