- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Core Tech

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.

Lab Info
Table of Contents
-
Challenge
Get 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
Configure an Inbound Firewall Rule
You will configure an inbound firewall rule to disable file sharing (SMB) 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.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.