Use EZOut to format data form Excel to Mardown tables and Yaml

This commit is contained in:
dfinke
2022-08-24 18:37:14 -04:00
parent 069c227391
commit 340ffc560b
4 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
param(
[Alias('FullName')]
[String[]]$Path
)
if ($PSVersionTable.PSVersion.Major -gt 5 -and -not (Get-Command Format-YAML -ErrorAction SilentlyContinue)) {
throw "This requires EZOut. Install-Module EZOut -AllowClobber -Scope CurrentUser"
}
Import-Excel $Path | Format-YAML