X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/9be91f74552004f7446a8f4678f0e8f124822952..1ee6e1eef9aa234a61ed0762d45eb315b1ed7cfb:/Microsoft.PowerShell_profile.ps1?ds=inline 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