Find-Application.ps1
# .Synopsis # Shows in which folder the given (native) command resides function Find-Application { param ( [Parameter(Mandatory)][string]$Command ) Get-Command -Name $command -ErrorAction SilentlyContinue | Select-Object -First 1 -ExpandProperty Path } |