mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-05-08 01:24:39 +02:00
Update what-is.ps1
This commit is contained in:
parent
f15d74c051
commit
4dc53f4cf7
Can't render this file because it is too large.
|
Can't render this file because it is too large.
|
@ -24,8 +24,8 @@ try {
|
|||||||
$Table = Import-CSV "$File"
|
$Table = Import-CSV "$File"
|
||||||
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 -Replace "_"," "
|
||||||
"🔎 In $Basename '$($Row.Abbr)' may refer to: $($Row.Term)"
|
"🔎 $($Row.Abbr) may refer to $($Row.Term) in $Basename."
|
||||||
$Missing = $false
|
$Missing = $false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user