怎么调整网卡的显示顺序
查看所以网卡的序号
Get-NetIPInterface -AddressFamily IPv4 | Sort-Object InterfaceMetric | Format-Table ifIndex, InterfaceAlias, ConnectionState, InterfaceMetric
这里 InterfaceMetric 越小的在 ipconfig 显示的时候排在越前面
假如以太网的序号是6,那么可以执行下面命令设置为其InterfaceMetric 为 10
Set-NetIPInterface -InterfaceIndex 6 -InterfaceMetric 10