Hacker News new | ask | show | jobs
by accrual 584 days ago
It was nice to see PowerShell could change the interface metric when the adapter GUI refused due to the empty IP field. I bet that check has been there since the 90s.

It makes me a little happy when a new CLI is able to do something the old GUI cannot!

1 comments

It's not just the new CLI. I guess you could have done the same with netsh for ages as well.
Nice, you're right, looks like `netsh` can do it:

    netsh interface ipv4 set interface "<if>" metric=<metric>