deanmcniven / wsl2-vpn-support

This Powershell script will reconfigure the system routes to fix WSL2 networking when on a VPN
45 stars 23 forks source link

Fix script after updating to 22H2 #6

Closed cziegeler closed 1 year ago

cziegeler commented 1 year ago

The script started to work after updating to windows 11 22H2 due to Get-NetAdapter not returning the wsl interface by default anymore. Adding the "IncludeHidden" option fixes this