Skip to content

Instantly share code, notes, and snippets.

@vkhazin
Created April 15, 2022 01:57
Show Gist options
  • Save vkhazin/84942adda88eecddbabd68c440f65d1d to your computer and use it in GitHub Desktop.
Save vkhazin/84942adda88eecddbabd68c440f65d1d to your computer and use it in GitHub Desktop.
Fix DNS resolution for WSL2 using Cisco Vpn
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