使用powershell 测试端口连接性!
使用powershell 测试与TCP端口的连接。
test-netconnection www.baidu.com -port 80

使用静默测试
Test-netconnection www.baidu.com -port 80 -informationlevel quiet

测试连接到TCP的端口相应时间
Measure-Command{Test-NetConnection www.baidu.com -Port 80}| % TotalSeconds


浙公网安备 33010602011771号