mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-25 03:18:16 +02:00
Update what-is.ps1
This commit is contained in:
parent
355be549a5
commit
f71ce2419d
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user