I am beginning to use VS Code (in conjunction with Powershell 1.9.0 extension).
I also installed Powershell Core 6.1 — on the understanding (please correct if
this is wrong!) that VS Code will use Powershell Core 6.1 by default.
In Powershell ISE, I had a simple “Login script” file named:
Microsoft.PowershellISE_profile.ps1
which automatically runs a few lines of PS code such as Set-Location,
Set-RemoteExecutonPolicy, Get-content env:Psmodulepath, etc.. for my “environment”.
My question is:
Where would I put such a Login script in the VS Code/Powershell 1.9.0?
I notice that Vs Code created two separate folders in my Documents folder:
.\VS Code Powershell and .\VS Code Javascript.
And what file name should I use?
Would be grateful for any advice, tips or references. Thanks in advance.