In this lesson we will be preparing our workstation for writing PowerShell scripts. We will start by enabling RSAT and then install Visual Studio Code which is a recommended and free PowerShell code editor.

We will then have a look at the basic function of VS Code and create a simple “Hello World” script.


If you haven’t followed along, you definitely would like to install VS Code and create a *.ps1 file. Then create a script that will display your name.


#Print out text
"Hello World!"
"My name is"
"Kamil Procyszyn"
#Run AD command