15

I know there is a keyboard shortcut to run PowerShell from the File Explorer as explained here: Open Powershell as Administrator at Current File Explorer Directory Keyboard Shortcut (Windows 10)

But can I open PowerShell while I am on the Desktop? Something like Win+E to open a File Explorer.

0
28

When you press Win+X, you may see little underlines under the options. If you press I, PowerShell will open.

So, the shortcut is Win+X I (or Win+X A for an elevated prompt).

Win+X menu

2
  • For me the command prompt is on the place of PowerShell. – user598527 Jul 31 '19 at 8:30
  • @user598527 that is a taskbar setting (right click the taskbar->taskbar settings->"Replace Command Prompt with Windows PowerShell..." – BobtheMagicMoose Apr 14 at 21:57
16

You can pin your PowerShell to your taskbar and then move the icon to the far left.

Now you can use Win+1 to start it.

for an elevated PowerShell:

WinAlt+1 Return

3
  • nice. and then you can lock your taskbar to avoid accidental shifts – Nicholas DiPiazza Oct 16 '18 at 19:35
  • To expand on @Peter Hahndorf approach. You can pin it anywhere on the task bar between the 0-9 pinned position and use whatever number corresponds to where you have it pinned or you can just directly assign it a hot key combination in the shortcut properties settings. – postanote Dec 25 '18 at 21:05
  • 1
    To add to the answer, in case you already have a PowerShell window open and want to open a new one, the Win+Shift+1 should help you. – kaartic Nov 25 '19 at 6:45
0

You can set PowerShell to open up with any keyboard shortcut you want by simply right clicking on any PowerShell shortcut file then going to 'properties', then click in the "shortcut key" box and enter your key. I'll demonstrate below (In this case I'll be using Ctrl + Alt + T)

Demo

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.