Rename column name to Abbreviation

This commit is contained in:
Markus Fleschutz
2021-05-25 17:51:46 +02:00
parent 9dd3143e60
commit ae3dacc66a
6 changed files with 7 additions and 7 deletions

View File

@ -17,9 +17,9 @@ try {
foreach ($File in $Files) {
$Table = import-csv "$File"
foreach($Row in $Table) {
if ($Row.Abbr -eq $Abbreviation) {
if ($Row.Abbreviation -eq $Abbreviation) {
$Filename = (get-item "$File").Name
"$($Row.Abbr) = $($Row.Description) (in $Filename)"
"$($Row.Abbreviation) = $($Row.Description) (in $Filename)"
$FoundOne = $true
}
}