To make PowerShell 7 the default shell for Windows Terminal, follow these steps:
- Click on the down arrow and press settings
- A json file will open, and you will see a line near the top that has a parameter called defaultProfile with a UUID.
- Also you will see a line representing the UUID of the PowerShell 7.0
- Copy that UUID and put it in for defaultProfile
Good Luck!
Source:
