- Lab
- 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.

Path 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.
What's a lab?
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.
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.