From: Edward Delaporte Date: Thu, 27 Jan 2022 17:23:55 +0000 (-0600) Subject: wsl fix X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/commitdiff_plain/1ee6e1eef9aa234a61ed0762d45eb315b1ed7cfb wsl fix --- diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index b0c9ae9..5718ea0 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -132,3 +132,7 @@ New-Alias st Get-GitStatus # Dashboard New-Alias dash Show-MyDashboard # from dash.psm1 New-Alias agenda Get-JournalAgenda # from minion_go.psm1 + +function Invoke-FixWslVPN { + Get-NetAdapter | Where-Object {$_.InterfaceDescription -Match "Cisco AnyConnect Secure Mobility Client Virtual Miniport Adapter for Windows x64"} | Set-NetIPInterface -InterfaceMetric 6000 +} \ No newline at end of file