This is more for me than anyone else. If you want to move to PowerShell core in Visual Studio Code then do the following.
Press CTRL + , to open settings.
Enter Shell: Windows in the search box.
Scroll down to Terminal > Integrated > Shell: Windows
Click on ‘Edit in settings.json’ and add the following.
“terminal.integrated.automationShell.windows”: “C:/Users/${env:USERNAME}/scoop/apps/pwsh/current/pwsh.exe”, “terminal.integrated.shell.windows”: “C:/Users/${env:USERNAME}/scoop/apps/pwsh/current/pwsh.exe”,
Now when the terminal is opened it will be using PowerShell Core.
Continue reading