Improve output of what-is.ps1

This commit is contained in:
Markus Fleschutz 2021-05-19 07:43:14 +02:00
parent 8748becdad
commit c76cc609fe

View File

@ -15,7 +15,7 @@ try {
$Table = import-csv "$PSScriptRoot/../Data/Abbr/Aviation.csv"
foreach($Row in $Table) {
if ($Row.Abbr -eq $Abbreviation) {
"Aviation: $($Row.Description)"
" $($Row.Description) (in aviation)"
$FoundOne = 1
}
}
@ -23,7 +23,7 @@ try {
$Table = import-csv "$PSScriptRoot/../Data/Abbr/Misc.csv"
foreach($Row in $Table) {
if ($Row.Abbr -eq $Abbreviation) {
"Misc: $($Row.Description)"
" $($Row.Description) (in misc)"
$FoundOne = 1
}
}