How do I replace PowerShell 5 with PowerShell 6 as my system default?
Solution 1:
That is a lot of work, to just run PoSH as an Admin. Just set you PoSH shortcuts to Run As Admin via the shortcut properties, in the Advanced section.
Copy and paste those shortcuts wherever is prudent for you. Taskbar, Desktop, SendTo Menu.
Use the registry to set pwsh.exe as the Right Click Explorer Context Menu option.
Add PowerShell to Windows Explorer Context Menu in Windows 10 https://www.petri.com/add-powershell-windows-explorer-context-menu-windows-10
You do know you can start PoSH in any folder from explorer, simply by clicking the folder the tap F4 and just type powershell or pwsh, or cmd, and they will start from the selected folder. No RegHacks required or other key binding creation and you include in your profile code to auto elevate you to admin.