Update what-is.ps1

This commit is contained in:
Markus Fleschutz 2023-01-01 17:47:39 +01:00
parent 355be549a5
commit f71ce2419d

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Prints a description of an abbreviation Describes an abbreviation
.DESCRIPTION .DESCRIPTION
This PowerShell script queries and prints a description of the given abbreviation. This PowerShell script queries and prints a description of the given abbreviation.
.PARAMETER abbr .PARAMETER abbr
@ -25,7 +25,7 @@ try {
foreach($Row in $Table) { foreach($Row in $Table) {
if ($Row.Abbr -eq $abbr) { if ($Row.Abbr -eq $abbr) {
$Basename = (Get-Item "$File").Basename $Basename = (Get-Item "$File").Basename
"🔎 In $Basename $($Row.Abbr) may refer to $($Row.Term)" "🔎 In $Basename '$($Row.Abbr)' may refer to: $($Row.Term)"
$Missing = $false $Missing = $false
} }
} }