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.

0

3 Answers 3

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

2
  • 1
    For me the command prompt is on the place of PowerShell.
    – user198350
    Jul 31, 2019 at 8:30
  • 1
    @user598527 that is a taskbar setting (right click the taskbar->taskbar settings->"Replace Command Prompt with Windows PowerShell..." Apr 14, 2021 at 21:57
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

3
  • 1
    nice. and then you can lock your taskbar to avoid accidental shifts Oct 16, 2018 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, 2018 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, 2019 at 6: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

1
  • Note: The shortcut itself must be on the desktop and nowhere else for this to work Dec 16, 2021 at 22:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .