3 Converts a Microsoft Teams Project Board Excel export into Markdown.
6 The path to an Excel file exported from a Microsoft Teams project.
9 The first row of data in the Teams project Excel export.
14 > ./Teams2Markdown.ps1 -Path C:\tmp\TeamsExport.xlsx | Out-File -Path c:\TeamsMarkdown.md
18 This script requires the Import-Excel module, available in PowerShell gallery.
20 > Install-Module Import-Excel
28 $xlData = Import-Excel -Path $Path -StartRow $StartRow
30 # $xlData | Select-Object -First 2 | Format-List
32 $xlData | Sort-Object { $_."Bucket" } | ForEach-Object {
33 if(!$_."Task Name" -eq "") {
35 "## $($_."Task Name") - $($_."Bucket Name")"
38 if(!$_."Description" -eq "") {
42 if(!$_."Checklist Items" -eq "") {
43 $_."Checklist Items".split(';') | ForEach-Object {