Created
July 14, 2020 13:39
-
-
Save jelster/ccb7cb930426d2d30b70ed24e974bc48 to your computer and use it in GitHub Desktop.
Which... for Powershell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function which([string]$name) { | |
return (get-command $name -UseFuzzyMatching).Definition; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sample Usage: