Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

PowerShell equivalent of which

📅 2012-Apr-16 ⬩ ✍️ Ashwin Nanjappa ⬩ 📚 Archive

get-command is the PowerShell equivalent of the Unix which command.

get-command can display the location and information of not only executables, but also aliases, functions, cmdlets and scripts. Basically, anything you can run at the prompt.