July 2018
Beginner
552 pages
13h 18m
English
For the first step, we should find the PowerShell console in VSCode. For this, press on TERMINAL. We validate the started PowerShell version with $PSVersionTable and you can see that the default PowerShell version running on a Windows 10 environment is loaded:

So, in this console, you have the same possibilities as working directly with PowerShell.exe.
Next, we want to create a new script. For this, we create a new workspace folder and add a new file, test.ps1, to it. It is self-explanatory and should look similar to this, when you have finished:
You can now start writing your scripts and make use of IntelliSense. In the next screenshot, ...
Read now
Unlock full access