Created
April 15, 2022 01:57
-
-
Save vkhazin/84942adda88eecddbabd68c440f65d1d to your computer and use it in GitHub Desktop.
Fix DNS resolution for WSL2 using Cisco Vpn
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-NetAdapter | Where-Object {$_.InterfaceDescription -Match "Cisco AnyConnect"} | Set-NetIPInterface -InterfaceMetric 6000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment