IT Share NVP -ViettechgroupVN-Phuong Nguyen blog Viettechgroup.vn | Share make us stronger Knowledge is Sharing Viettechgroup- Sharing Make Us Stronger-Kiến thức CNTT là sự chia sẻ- NVP-Chia sẻ làm chúng ta mạnh hơn-Viettechgroup.vn Viettechgroup.com.vn| ITShareNVP Channel | Phương Nguyễn | Phuong Nguyen Blog| Lưu trữ kiến thức chia sẽ kinh nghiệm CNTT | Phương Nguyễn

How to verify connectivity using PowerShell

0 265

As part of troubleshooting, it is required to check if a port on a remote server is open and the connection is possible. This can be done by using Windows Powershell cmdlet called  Test-NetworkConnection

1. Run Windows Powershell.

2. type the following command:

tnc <Server> – port <PortNumber>

3. You need to check the value of TcpTestSucceeded. It gives True if the port is open and false if the port is closed.

Example

We can verify if connectivity to Parallels server is possible using this command:

tnc google.com -port 443

Note: In some of the cases you may notice that PingSucceeded=False  while TcpTestSucceeded=True. This is normal behavior when ICMP Ping is prohibited.

Source Internet

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. AcceptRead More