1-测试网络
Test-connection -computername 172.28.2.28
返回的结果
测试多地址
test-connection -computername 172.28.2.28 172.28.2.29
静默测试网络
test-connection -computername 172.28.2.28 -quiet
文件夹测试网络
$host = cat "c:\tmp\hosts.txt" test-connection -computername (get-content $host) -erroraction silentlycontineue