Scripting can happen on the console itself, with Vim. It is also possible to use other editors, such as Gedit or even Atom, to write PowerShell scripts. It is, however, recommended to use Microsoft's open source code editor, called Visual Studio Code (or vscode). In this recipe, we will look at installing Visual Studio Code and configuring it to work with PowerShell.
Installing Visual Studio Code
Getting ready
We will look at the steps to install vscode on Ubuntu. Today, most repositories contain Visual Studio Code. You can check in the software store of your distribution to install vscode. If not, the easiest way to install vscode is to download the .deb (or the .rpm package if you are on CentOS) and run it to install...