系统相关
首页 > 系统相关> > power shell 测试网络-和多地址测试网络

power shell 测试网络-和多地址测试网络

作者:互联网

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  

  

 

标签:computername,shell,2.28,网络,connection,172.28,测试,test
来源: https://www.cnblogs.com/xxllx/p/15951598.html