From 958d4908871c941cf2c86380787b92432f6202cf Mon Sep 17 00:00:00 2001 From: Edward Delaporte Date: Fri, 15 Jul 2022 17:42:04 -0500 Subject: [PATCH] Updated agenda command --- Microsoft.PowerShell_profile.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index c2b9bb0..075c5ca 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -136,9 +136,9 @@ New-Alias st Get-GitStatus New-Alias dash Show-MyDashboard # from dash.psm1 function Get-JournalAgenda() { - agenda.exe -path "$HOME/Journal/$(Get-Date -Format "yyyy/MM-dd").md" + agenda.exe -path "$HOME/Journal/{YYYY}/{MM}-{DD}.md" } -New-Alias agenda Get-JournalAgenda +New-Alias today Get-JournalAgenda function Invoke-FixWslVPN { Get-NetAdapter | Where-Object {$_.InterfaceDescription -Match "Cisco AnyConnect Secure Mobility Client Virtual Miniport Adapter for Windows x64"} | Set-NetIPInterface -InterfaceMetric 6000 -- 2.47.3