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
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.
Comments
Post a Comment