Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

PowerShell equivalent of which

📅 2012-Apr-16 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ powershell ⬩ 📚 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.


© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘 @codeyarns@hachyderm.io📧