From: Edward Delaporte Date: Wed, 13 Jan 2021 22:00:34 +0000 (-0600) Subject: Added a handy reference so you can find the script again. X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/commitdiff_plain/e4a9d6972a2e53bf029b4605838d51c114e42b7a Added a handy reference so you can find the script again. --- diff --git a/Toybox/Teams2Markdown.ps1 b/Toybox/Teams2Markdown.ps1 index 6e4219a..fc1a156 100644 --- a/Toybox/Teams2Markdown.ps1 +++ b/Toybox/Teams2Markdown.ps1 @@ -29,7 +29,8 @@ $xlData = Import-Excel -Path $Path -StartRow $StartRow # $xlData | Select-Object -First 2 | Format-List -$xlData | Sort-Object { $_."Bucket" } | ForEach-Object { +$xlData | Sort-Object { $_."Bucket Name" } | ForEach-Object { + if(!$_."Task Name" -eq "") { "" "## $($_."Task Name") - $($_."Bucket Name")" @@ -45,4 +46,7 @@ $xlData | Sort-Object { $_."Bucket" } | ForEach-Object { } } } -} \ No newline at end of file +} + +"Generated by [Teams2Markdown Script][1]." +"[1]: https://github.com/edthedev/dotfiles/blob/master/Toybox/Teams2Markdown.ps1" \ No newline at end of file