Get-NetIPInterface -AddressFamily IPv4 | Sort-Object -Property InterfaceMetric -Descending Set-NetIPInterface -InterfaceAlias 'Ethernet' -InterfaceMetric 18