VS Code Change Default terminal Windows exec
Customizes which terminal to run on Windows.
Ctrl+R and search for User Preference
Search for terminal.external.windowsExec
and change the path to desired. For PWSH set the value to C:\Program Files\PowerShell\7\pwsh.exe