This is more for me than anyone else. If you want to move to PowerShell core in Visual Studio Code then do the following.
CTRL + ,to open settings.
Shell: Windowsin the search box.
Scroll down to Terminal > Integrated > Shell: Windows
Click on ‘Edit in settings.json’ and add the following.
Now when the terminal is opened it will be using PowerShell Core. As I use Scoop to install items on my computers the path above reflects that, if you have powershell elsewhere then use that path.
To install the PowerShell Core / 6 got to https://github.com/powershell/powershell