Telnet alternative with Powershell command

Telnet alternative with Powershell command

John Duprat

54 года назад

542 Просмотров

If you want to check a port on a remote machine from windows, you can use telnet but it's not installed by default. Instead you can use Test-NetConnection powershell command or tnc directly available from a windows terminal or powershell terminal, I'll show few examples how to use it.

- Usage :
Get-Help tnc

- Check port 443 (https) on google.Com :
tnc google.com -Port 443

- Check well known service port (SMB here) on localhost :
tnc localhost -CommonTcpPort SMB

Тэги:

#windows_powershell #powershell_scripting #powershell_tutorial #telnet_alternative #telnet_commands #telnet_windows_10 #telnet_windows_7 #test-netconnection #port_scanning
Ссылки и html тэги не поддерживаются


Комментарии: