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.

Exercises

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.

Notes

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