Created
September 9, 2019 10:56
-
-
Save kyokuheki/975db6a780639461204e781b104db0fb to your computer and use it in GitHub Desktop.
set interface metric for windows 10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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