mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-01-28 08:38:38 +01:00
Update what-is.ps1
This commit is contained in:
parent
355be549a5
commit
f71ce2419d
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Prints a description of an abbreviation
|
||||
Describes an abbreviation
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries and prints a description of the given abbreviation.
|
||||
.PARAMETER abbr
|
||||
@ -25,7 +25,7 @@ try {
|
||||
foreach($Row in $Table) {
|
||||
if ($Row.Abbr -eq $abbr) {
|
||||
$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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user