Skip to content

Instantly share code, notes, and snippets.

@kyokuheki
Created September 9, 2019 10:56
Show Gist options
  • Save kyokuheki/975db6a780639461204e781b104db0fb to your computer and use it in GitHub Desktop.
Save kyokuheki/975db6a780639461204e781b104db0fb to your computer and use it in GitHub Desktop.
set interface metric for windows 10
Get-NetIPInterface
Get-NetIPInterface -InterfaceAlias Ethernet2 -AddressFamily IPv4 | Select-Object -Property ifIndex | Set-NetIPInterface -InterfaceMetric 190
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment