On Windows 7 clients I have to change the metric of the wired network connection to a lower metric than the wireless so traffic is prioritized over the wired connection. Is there a way to do this through a script using powershell?
To do this manually i -> Open network and sharing centre -> click the network wired connection -> select properties -> IPv4 -> advanced -> disable automatic metric -> enter a interface of 10 and then repeat for the wireless network adapter but enter a higher metric of say 20.
I've found these instruction on how to get the metric through netstat but not how to change the metric. Thank.