PowerShell (powershell传教士)当前离线
上尉
if ( Test-Connection 192.168.0.1 -Quiet ) { echo "通了" #你不觉得这代码简洁直观么? } else { echo "没通" # 这里还可以做点啥 }复制代码
TOP