We need minimum one computer system with Windows operating system in it, that would be sufficient to follow the majority of the topics in the PowerShell, but to follow along with PowerShell remoting concepts, then we require minimum two computer systems and in which one must be the domain controller.
Predominantly we need one computer to follow along with our sessions, and now let’s setup our lab…
We will spend most of the time in this computer, so let’s install the necessary tools to follow along with our sessions…
We need the following software to follow along with our sessions (considering you don’t have them installed already, if any of the software is already installed then you can skip it)…
If you want to install the above mentioned software manually, I mean you can download yourself and install them graphically, you feel free to do so, however I show you how to do the same with Chocolatey using Windows PowerShell
So, first we will install the Chocolatey Package Provider, and then install the rest using it.
First, open the Windows PowerShell with an elevated rights (run as administrator) in your Windows 10 computer and run the script below, you can copy and paste the same…
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString(''))
Verify the Chocolatey Package Provider installation
choco version
Now, let’s install the browser, you might have already installed it, in that case you can skip it…
I use Microsoft EDGE, and if you want to use the same you can run the command below…
choco install microsoft-edge -y
choco install googlechrome -y
Now, it’s time for Visual Studio Code, which is a popular scripting editor for PowerShell…
choco install vscode -y
This time we will add PowerShell language support to Visual Studio Code…
choco install vscode-powershell -y
And, finally we will install Windows Terminal…
choco install microsoft-windows-terminal -y
That’s all. We are done with the client setup in our lab. Now, let’s move onto the second computer…
Computer 1 and Computer 2 should be in the same domain and Computer 3 is a non domain computer.
Thank you, and will see you in the next session