![]() The above example will check Port number 80 conĮctivity on remote server Test1-Win2k12. Test-NetConnection -ComputerName Test1-Win2k12 -Port 80 Output ComputerName : Test1-Win2k12 To check if the remote port is open or not we can use the Test-NetConnection command and it requires -ComputerName parameter and -Port to check the remote port status. ![]() This command is also very useful for other diagnostics but we are focusing here for the remote port check. We can leverage PowerShell to test remote port connectivity without installing telnet and with the use of the Test-NetConnection command. ![]() Earlier days we were using telnet clients to check the remote port connectivity, in fact, we are still using it with cmd and PowerShell but this feature is not by default installed in OS and some companies have restrictions on installing new features including telnet.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |