networking - Windows 7 : Change the priority of traffic to wired instead of the wireless connection?

标签 networking powershell tcp metric

在 Windows 7 客户端上,我必须将有线网络连接的指标更改为低于无线网络的指标,以便流量优先于有线连接。有没有办法通过使用 powershell 的脚本来做到这一点?

要手动执行此操作 i -> 打开网络和共享中心 -> 单击网络有线连接 -> 选择属性 -> IPv4 -> 高级 -> 禁用自动度量 -> 输入 10 的接口(interface),然后重复无线网络适​​配器,但输入更高的指标,例如 20。

我找到了有关如何通过 netstat 获取指标的说明,但没有找到有关如何更改指标的说明。感谢。

http://www.howtogeek.com/howto/27994/how-to-change-the-priority-of-wiredwireless-network-cards-in-windows/

最佳答案

关于networking - Windows 7 : Change the priority of traffic to wired instead of the wireless connection?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8592409/

相关文章:

postgresql - 发布 docker 容器端口并从另一个 docker 容器访问该端口

http - gRPC 连接如何在 kubernetes 服务 ClusterIP 上工作

powershell - 从一个导入 csv 将多个用户添加到多个组

.net - 使用 DSC 无人值守安装 .net Framework 4.6.2

android - Smack 4.1 Android 匿名注册到 Openfire

tcp - 为什么IP地址和TCP连接已经建立,SIM卡响应AT+CIPSEND “+CME ERROR: operation not allowed”?

c - 为什么在捕获 SIGALRM 后 recvfrom() 仍然阻塞?

python-3.x - PubNub 订阅错误

powershell - 为什么我的强制哈希表参数不接受我的值

java - 为什么当客户端被SIGKILL杀死时会调用服务器上的channelInactive?