windowspowershell

How do I start PowerShell from Windows Explorer?


Is there a way to start PowerShell in a specific folder from Windows Explorer, e.g. to right-click in a folder and have an option like "Open PowerShell in this Folder"?

It's really annoying to have to change directories to my project folder the first time I run MSBuild every day.


Solution

  • In Windows Explorer, just go to the Address Bar at the top (keyboard shortcuts: Alt+D or Ctrl+L) and type powershell or powershell_ise and press Enter. A PowerShell command window opens with the current directory.