Ramon Tan replied to the topic How do I format PS code inside a post? in
PowerShell Forum 4 years, 10 months ago
Many thanks, much appreciated.
Ramon Tan started the topic How do I format PS code inside a post? in Community Forum 4 years, 10 months ago
Hello,
I’m totally new to the 4SysOps Forum for Powershell.
I am unable to figure out for myself how to enclose a block of Powershell code inside a post.
I am sure it involves one of the buttons and some markup syntax but I can’t seem to find the right combination.
Would be grateful for some guidance.
Thanks.
Ramon Tan replied to the topic Profile for VS Code / Powershell 1.9.0 extension / Powershell Core in
PowerShell Forum 4 years, 10 months ago
Much appreciated, Mr Fullenwarth.
Ramon Tan replied to the topic Profile for VS Code / Powershell 1.9.0 extension / Powershell Core in
PowerShell Forum 4 years, 10 months ago
Many thanks Mr Pietroforte, your earlier article on using VS Code with multiple shells was very informative and helpful. Best,
Ramon Tan started the topic Profile for VS Code / Powershell 1.9.0 extension / Powershell Core in
PowerShell Forum 4 years, 10 months ago
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.
Ramon Tan joined the group
PowerShell 4 years, 10 months ago
Ramon Tan became a registered member 4 years, 10 months ago