Featured resource
2025 Tech Upskilling Playbook
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Check it out
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • Core Tech
Google Cloud Platform icon
Labs

PowerShell Hands-On Exercises Primer 2

The capabilities of PowerShell extend well beyond basic scripting. In this lab, you'll journey through some of its advanced features. You will move into real-world system administration tasks by integrating other languages like .NET to enhance data security, and will look at proactive system monitoring, safeguarding data through backups, and efficient file and network management.

Google Cloud Platform icon
Lab platform
Lab Info
Level
Beginner
Last updated
Oct 13, 2025
Duration
3h 0m

Contact sales

By clicking submit, you agree to our Privacy Policy and Terms of Use.
Table of Contents
  1. Challenge

    Encoding and Decoding Sensitive String Data using .NET Components in PowerShell

    To start this lab, you will examine the process in three fundamental stages. Firstly, you will import a .NET library into the PowerShell environment. Then, you will construct two functions devoted to encoding and decoding string values. Finally, you will secure the two functions further by adding a required key. By the end of this challenge, you'll be able to create functions using .NET components for encoding and decoding string values.

  2. Challenge

    Implement a Script to Monitor Disk Space on all Computer Partitions

    In this challenge, you will gather data on the existing partitions of a computer. Following this, you will extract crucial storage metrics, concentrating on the available versus utilized space. Lastly, you will develop a script that regularly monitors these metrics, empowering you to act when storage reaches critical levels.

  3. Challenge

    Automate the Backup Process of Specific Directories

    Automating backup data security and integrity. You will begin by identifying critical data directories, and will then automate the backup process using PowerShell. By the end of this challenge, you'll have a hands-off, systematic backup process ensuring your data remains intact and retrievable.

  4. Challenge

    Monitoring and Logging CPU Usage

    You will start with extracting real-time CPU usage metrics and using PowerShell's logging capabilities to record these metrics over time. Wrapping up the challenge, you will institute alerts and notifications for scenarios where CPU usage breaches predefined thresholds. Once done, you'll have a PowerShell script for CPU performance monitoring.

  5. Challenge

    Manage and Report on Windows Scheduled Tasks

    You will now list all existing scheduled tasks and extract key attributes. You will then work with PowerShell to manipulate these tasks, such as starting, stopping, or modifying them. Finally, you will create a report detailing the status of these tasks. By the end of the challenge, you will be able to query and report on Windows automation tasks.

  6. Challenge

    Search for Files Within the Folder Based on Passed Keywords

    In this challenge, you examine a directory's content and familiarize yourself with its structure. As you progress, you'll develop a PowerShell script capable of parsing the content based on provided keywords. You will then optimize the search function to return results quickly and accurately. At the end of this challenge, you'll know how to search and find what you need when you need it.

  7. Challenge

    Retrieve and Display the Top 10 Largest Files

    Further file management can be done by enumerating all files within a specified directory, and cataloging them based on size. You will do this, and will then filter this list to identify the top 10 largest files. To wrap up, you'll display the output, making the information user-friendly. By the end of this challenge, you'll know how to identify large files within any given directory.

  8. Challenge

    Use PowerShell to Ping a List of Computers

    To finish up the lab, you will read a list of computers or IPs from an external file. You'll then integrate the classic ping command within a PowerShell script, measuring the online status of each entry. You'll then compile and display these results in an organized, easy-to-read format. By the end of the challenge, you'll be able to check the connectivity of many devices, streamlining network management.

About the author

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

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.

Get started with Pluralsight