29

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.

Rosdi
  • 876
  • 2
  • 11
  • 22

3 Answers3

41

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

robinCTS
  • 4,327
  • 4
  • 20
  • 29
robertianburton
  • 526
  • 5
  • 3
25

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

Peter Hahndorf
  • 13,370
  • 9
  • 51
  • 67
  • 1
    nice. and then you can lock your taskbar to avoid accidental shifts – Nicholas DiPiazza Oct 16 '18 at 19:35
  • 1
    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
  • 3
    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 06:45
2

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

EcksDee
  • 121
  • 2