Keyboard shortcut to open PowerShell from the Desktop

8

5

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

Posted 2018-07-14T02:59:13.723

Reputation: 578

Answers

19

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

robertianburton

Posted 2018-07-14T02:59:13.723

Reputation: 306

For me the command prompt is on the place of PowerShell. – user598527 – 2019-07-31T08:30:50.993

11

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

Posted 2018-07-14T02:59:13.723

Reputation: 10 677

nice. and then you can lock your taskbar to avoid accidental shifts – Nicholas DiPiazza – 2018-10-16T19:35:51.967

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 – 2018-12-25T21:05:02.610

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 – 2019-11-25T06:45:02.307