Use Powershell Core 6 as the default shell with shortcut Windows+X, I

I've seen this question which isn't quite the same thing. I have Powershell Core 6 installed. I usually open Powershell with the shortcut Windows+X, and then I. Now I would like that shortcut to open Powershell Core 6 instead of the old Powershell 5. Is that possible?


Or just use the new Windows Terminal and add whatever you choose.

Windows Terminal (Preview)

The Windows Terminal is a new, modern, fast, efficient, powerful, and productive terminal application for users of command-line tools and shells like Command Prompt, PowerShell, and WSL. Its main features include multiple tabs, Unicode and UTF-8 character support, a GPU accelerated text rendering engine, and custom themes, styles, and configurations.

This is an open source project and we welcome community participation. To participate please visit https://github.com/microsoft/terminal

Update based on comments thus far.

You cannot do what you are after natively. You have to hack the registry to change this.

Yet, why go thru all that effort, when you can just pin the pwsh shortcut to the first position on your taskbar, and then just press Win key + 1 (or where you put it up to position 9) on the taskbar.

For example, on my taskbar, I have Windows Terminal, pwsh, powershell, powershell_ISE, VSCode, PowerShellStudio in position 1,2,3,4,5,6.

enter image description here

So, pressing Win+#, starts the app. No reg hacking required and 2 keystrokes vs 3. One could even drop the pwsh one since it's included as an option in Windows Terminal if you have Windows Terminal and pswh installed. enter image description here


Use this tool that allows you to edit the Win+X Menu: https://winaero.com/download-winx-menu-editor-allows-you-to-add-or-remove-winx-menu-items

Screenshot

Here, there are some groups. Add it to whatever group you like using the add a program button. And then, press Restart Explorer (NOTE: This will close all of your file explorer windows!)