In the first part of this Lab, we will:
- Install VSCode because PowerShell ISE is Lame
In the second part of this lab, we will
- Generate a
.json file containing a list of random users and passwords
Part 1: Install VSCode:
First, let’s create a new blank folder to work in. I’ll call my new folder ‘Local_Program.’ Inside this folder, let’s create a subfolder called ‘data’ where we will place our text files.

Next, install VSCode
- Download and install VSCode from Here
Download the Latest Release

Be sure to grab the x64 agent

You should have a Powershell console at the bottom of VSCode. Use cd to move to the directory where you have saved CreateJSON.ps1. (In my case it is the Local_Program folder.)

It may prompt you to upgrade PowerShell

The current PowerShell version is stored in the $PSVersionTable variable.