Does PowerShell have an equivalent to the which
command found in most (if not all) Unix shells?
There are a number of times I'd like to know the location of something I'm running from the command line. In Unix I just do which <command>
, and it tells me. I can't find an equivalent in PowerShell.