Iris Classon
Iris Classon - In Love with Code

Ways to open PowerShell- keyboard only, no installs, no scripts

Another quick writeup on my favorite shell! If you use it as much as I do, and you are not a fan of desktop shortcuts or pinning things to the ‘bar’, here are a few ways to access PowerShell with just a few keystrokes.

I’ll refer to the Windows key as just Windows as winkey is to cute for this level of coolness (actually just because winkey sounds like a cartoon character).

Windows + X + I  or Windows + X + A

Whatever you do in the Command Prompt you can do in PowerShell- so you could have the keyboard shortcuts for it open PowerShell instead. This requires some manual work first, mouse involved.

Right click on the toolbar, select properties, and under navigation tab select the third box which replaces the command prompt with PowerShell.

If you know hit Windows + X + I you open PowerShell in user mode, while Windows + X + A opens in admin mode (the best mode hehe).

2014-01-06 20-59-58

2014-01-06 21-00-14

Windows + R , “powershell” , Enter

You can still do Windows + R and type PowerShell to open it in user mode.

2014-01-06 21-06-44

Windows , “powers..”, Enter or Windows, “powers..”, Shift + F10, Arrow, Enter

Windows 8 and up only.

Another option is to hit Windows key and start typing PowerShell until you see your baby and then select it and hit Enter, or Shift + F10 (this is the same as right click) and select Run as Administrator.

2014-01-06 21-11-23

  • Shift + F10 is rather handy for lazy people like me that prefer to keeping the fingers hovering over the computer. When you type and you want to get suggestion on a typing error don’t forget the key on the keyboard that looks like a piece of paper (to the right of the space bar), it will bring up the list of suggestions.

Open PowerShell here (when in Windows Explorer):

Alt + D, “powershell”, Enter

If you want to open a PowerShell window set to the path to where you are (in Windows Explorer- Windows + E) you can hit Alt + D, then type powershell, and Enter. This will be in user mode.

2014-01-06 21-36-56

There are various scripts and installs (basically also scripts) that can give you more functions and shortcuts, but these are some built in keyboard shortcuts you can use straight away.

Did I miss some of the ways? Let me know and I’ll add them Smile

Comments

Leave a comment below, or by email.
Amr
1/6/2014 1:48:23 PM
Cool post, but here's a way you might have missed.
In the Start menu, find "powershell" and right click it. Select Properties. In the "Shortcut" tab, select "Shortcut key", enter the key combination you want (I chose Ctrl + Alt + T to match brining up the Linux bash shell). Click Ok. You're done. 
Iris Classon
1/6/2014 2:49:39 PM
Reply to: Amr
You are very right, thank you for that! I'll add that to the post, if you have a blog or a Twitter account I'd be happy to link that in :) I've never used that function before to be honest (I've used Auto HotKey for all my shortcuts). I can't see it in Windows 8.1 under properties, can it be OS version specific/limited? Or do I need some more rest before replying to comments :P ? 
Amr
1/6/2014 3:22:45 PM
Reply to: Iris Classon
I rarely use it. It's been a long since I last set it up. It's been around forever, so you never really notice it :)
I'm at @AmrEldib and AmrEldib.com
Thanks :) 
Iris Classon
1/6/2014 3:30:59 PM
Reply to: Amr
Hm, I can't see that option. Can you check if you are running win8? Tnx for the links, I like to give cred, some people are too lazy to read comments :) 
Amr
1/6/2014 3:42:04 PM
Reply to: Iris Classon
It defintely works in Windows 7. Not sure about Windows 8, maybe this could help
http://www.eightforums.com/general-support/24556-how-get-properties-shortcut-windows-8-a.html 
Iris Classon
1/7/2014 12:28:34 AM
Reply to: Iris Classon
I think I misunderstood, I avoid having things on the desktop- any chance this option is for desktop pinned items only? 
Steve Crane
1/7/2014 1:39:34 AM
Windows+X+I doesn't work for me, did you mean Windows+X+C? That's what opens the console for me (Windows 8.1), or Windows+X+A for Console (Admin).

Regarding Shift-F10 for context menu; I think that most keyboards that have a Windows key also have a dedicated context menu key, usually to the right of the space bar somewhere. On my Microsoft Natural Keyboard 4000 it's between the right Alt and Ctrl keys. 
Iris Classon
1/7/2014 10:22:03 AM
Reply to: Steve Crane
Hm, maybe its different due to the keyboard layout. I use I, but C might be for US layout? 
Iris Classon
1/7/2014 10:23:38 AM
Reply to: Steve Crane
Shift ten was not for the context menu- for Right click. I mentioned the the separate key for the context menu, where I wrote to the right of the space bar looks like a paper/jump list 
Heino Rask
1/9/2014 5:51:35 AM
Reply to: Iris Classon
Hi Iris,
This is the way to do it in Win8.x
Goto:
C:\ProgramData\Microsoft\Windows\Start Menu\Programs
Right click the program you want to give a shortcut key, choose properties, and there, just like in Win7 you can assign the shortcut key.

Cheers
Heino Rask 
Sean
2/12/2014 2:26:12 PM
I can get win+X+A to work, but not win+X_I or C.  I'm on win8.1.  Also, maybe I'm doing something wrong, but the Alt+D trick isn't working for me either. 
Michael
8/4/2014 7:09:49 AM
Reply to: Sean
I'm in the same situation, on windows 8.1 danish edition.. would really like the alt+d option 


Last modified on 2014-01-06

comments powered by Disqus