Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 537
Josh Kodroff Avatar asked Oct 08 '08 17:10

Josh Kodroff


People also ask

What is the shortcut to open PowerShell?

Launch Task Manager: a quick way is to simultaneously press the Ctrl + Shift + Esc keys on your keyboard. If the Task Manager opens up in its compact mode, click or tap on "More details." Then, open the File menu and click or tap on "Run new task." In the "Create new task" window, type powershell and press Enter or OK.

Where is PowerShell in Windows folder?

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.

How do I open PowerShell in Windows Explorer 11?

Also, you can trigger PowerShell directly in Windows 11 Explorer. Just input “powershell” in the address bar of Windows Explorer and press Enter. Or, you can directly go to C:\Windows\System32\WindowsPowerShell\v1. 0, find the PowerShell or PowerShell ISE executable file, and double-click on it to run the PowerShell.

How do I open PowerShell without Start menu?

Press Windows+R to open the Run dialog box, and then type “powershell” in the text box. You can either click “OK” (or press the Enter) to open a regular PowerShell window, or press Ctrl+Shift+Enter to open an elevated PowerShell window.


2 Answers

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.

like image 74
Ashwin Nanjappa Avatar answered Nov 03 '22 11:11

Ashwin Nanjappa


Just to add in the reverse as a trick, at a PowerShell prompt you can do:

ii . 

or

start . 

to open a Windows Explorer window in your current directory.

like image 21
EBGreen Avatar answered Nov 03 '22 10:11

EBGreen