Windows 10 - Automatic metric & Change network adapters priority

On Windows 10 each network interface receives a different priority (network metric) that will define primary connection that your system will use.

Sometimes configuration should be manually, especially when you have more than a network cards both connected.

start --> ncpa.cpl





Using powershell:

Get-NetIPInterface

Identify your network cards (changing  -InterfaceIndex value accordingly) based on previously output list and assigning -InterfaceMetric  nn value:

Set-NetIPInterface -InterfaceIndex 17 -InterfaceMetric 15

and later use this command to enable configuration

Set-NetIPInterface -InterfaceIndex 17 -InterfaceMetric 15 enabled