]> us-delaporte.pagekite.me Git - dotfiles.git/blobdiff - Microsoft.PowerShell_profile.ps1
Add snippets.
[dotfiles.git] / Microsoft.PowerShell_profile.ps1
index b0c9ae9ef1a9704196c6dd12239b9079b67ba938..5718ea02c16b9af575dcd03cec35a4eaf1fd32d0 100644 (file)
@@ -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