From 7c33ffe70b94f9d4992658ef6daeca25f02e14ed Mon Sep 17 00:00:00 2001 From: Paul Bullock Date: Thu, 31 Oct 2024 01:12:14 +0000 Subject: [PATCH] Fix report --- docfx/report-matrix.ps1 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docfx/report-matrix.ps1 b/docfx/report-matrix.ps1 index 2a5881d1..f475a38d 100644 --- a/docfx/report-matrix.ps1 +++ b/docfx/report-matrix.ps1 @@ -2,7 +2,7 @@ ## Variables param( - [string]$BaseDir = "C:\Git\contrib\script-samples\", + [string]$BaseDir = "D:\contrib\script-samples\", [string]$ScriptFolder = "scripts", [string]$ReportFile = "matrix.md", [string]$AssetsFolder = "assets" @@ -147,13 +147,14 @@ $files | Foreach-Object { "`rPnP PowerShell: {0}
Cli for Microsoft 365 PowerShell: {1}
Cli for Microsoft 365 Bash: {2}
Graph SDK: {3}
SPO Management SDK: {4}
All Tabs: {5}

" ` -f $PnPPSCount, $CLIPSCount, $CLIBashCount, $GraphSDKCount, $SPOMSCount, $AllTabs ` | Out-File $reportFile -Append +"`n`n" | Out-File $reportFile -Append -"| Sample | PnP
PowerShell | Cli for Microsoft 365
PowerShell | Cli for Microsoft 365
Bash | Graph
SDK | SPO Management
Shell | `n" | Out-File $reportFile -Append -"|------|:--------:|:--------:|:----------:|:-----------:|:--------:| `n" | Out-File $reportFile -Append +"| Sample | PnP
PowerShell | Cli for Microsoft 365
PowerShell | Cli for Microsoft 365
Bash | Graph
SDK | SPO Management
Shell |" | Out-File $reportFile -Append +"|:------:|:--------:|:--------:|:----------:|:-----------:|:--------:|" | Out-File $reportFile -Append $matrixRows | ForEach-Object{ - $row = "| {0} | {1} | {2} | {3} | {4} | {5} | `n" -f $_.Link, (DispTick $_.PnPPS), (DispTick $_.CLIPS), (DispTick $_.CLIBash), (DispTick $_.GraphSDK), (DispTick $_.SPOMS) + $row = "| {0} | {1} | {2} | {3} | {4} | {5} |" -f $_.Link, (DispTick $_.PnPPS), (DispTick $_.CLIPS), (DispTick $_.CLIBash), (DispTick $_.GraphSDK), (DispTick $_.SPOMS) Write-Host $row $row | Out-File $reportFile -Append