This commit is contained in:
dfinke
2023-06-07 17:59:03 -04:00
parent ab4d03c984
commit b67801e983
3 changed files with 5 additions and 1 deletions

View File

@@ -37,7 +37,8 @@
[ValidateNotNullOrEmpty()] [ValidateNotNullOrEmpty()]
[String]$Password, [String]$Password,
[Int[]]$ImportColumns, [Int[]]$ImportColumns,
[Switch]$Raw [Switch]$Raw,
[Switch]$UseSpectre
) )
end { end {
$sw = [System.Diagnostics.Stopwatch]::StartNew() $sw = [System.Diagnostics.Stopwatch]::StartNew()
@@ -252,6 +253,9 @@
$entry.Value $entry.Value
} }
} }
elseif ($UseSpectre) {
$xlBook | Format-SpectreTable
}
elseif ($Worksheet.Count -eq 1) { elseif ($Worksheet.Count -eq 1) {
$xlBook["$targetSheetname"] $xlBook["$targetSheetname"]
} }

Binary file not shown.