PowerShell Hands-On Exercises Primer 1
In this lab, you’ll create a user and generate a self-signed certificate. You will also create a script, and add a self-signed certificate to it. After that, you will practice creating an inbound firewall rule. Finally, you will generate a system information report, and gather the performance data. All these tasks will be done using PowerShell.
Terms and conditions apply.
Lab info
Lab author
Challenge
Getting Started in the Lab Environment
Here are the initial instructions and explanation of the lab environment. Read this while your environment is busy creating itself from nothing. Yes, this violates physics; we know. How fun!
Challenge
Create a Local User and Add Them to a Local Group
You will start this lab by creating a local user and adding it to a local administrative group. You will also learn how to list the existing users, and how to set a user's password, all using PowerShell.
Challenge
Add a Self-signed Certificate to a PowerShell Script
Create a PowerShell script, and add to it a self-signed certificate.
Challenge
Inbound Firewall Rule Configuration
In this challenge, you will configure an inbound firewall rule to disable remote desktop (RDP) connections.
Challenge
System Information Report
Now, you will generate some system information and save it to a text file. This will be done with a PowerShell script.
Challenge
Memory and Disk Performance Data
To finish this lab, you will write a script that collects and displays memory and CPU performance data every 10 seconds.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.
Recommended prerequisites
- Familiarity with PowerShell
- Familiarity with Windows