Step By Step Mastering PowerShell Course guide

Mastering PowerShell Step By Step: Free Beginner Course

Learn PowerShell scripting step by step: variables, arrays, operators, flow control, loops, functions, dot sourcing, remoting and modules. 12 free videos.

· 5 min read

Thumbnail of the first video: Step By Step Mastering PowerShell - Course Overview
Watch the lesson: Step By Step Mastering PowerShell - Course Overview

Step By Step Mastering PowerShell is a beginner course on PowerShell scripting, from your first comment to writing functions, using remoting and packaging your code as a module. It is for system administrators, IT support staff, DevOps learners and anyone on Windows who wants to automate repetitive tasks instead of doing them by hand.

The course covers comments, variables, arrays, operators and flow control, loops and functions, and then the topics that turn scripts into reusable tools: dot sourcing, PowerShell remoting and modules. It has 12 in-depth videos, about 3.4 hours in total, free on YouTube and listed on the PowerShell course page.

Who this course is for

  • Beginners in scripting who want a clear, structured start with PowerShell.
  • System and Microsoft 365 administrators who want to script tasks they repeat every week.
  • DevOps and cloud learners who need PowerShell before moving on to automation tools.
  • Developers on Windows who want to understand the shell they use every day.

The catalog marks it Beginner, so no previous scripting experience is needed. The lessons are long and detailed rather than quick tips, which suits learners who want to understand why a script works and not just copy one.

What you will learn

1. Getting started. PowerShell Introduction (about 19 minutes) sets the scene, and PowerShell Basic InLine Comment Block Comment shows how to document your scripts from the very first line. Comments sound minor, but they are what make a script usable by someone else, or by you six months later.

2. Storing data: variables and arrays. Variables In PowerShell and Arrays In PowerShell (about 24 minutes) cover how PowerShell holds values and lists. Most admin scripts are really about collecting a list of things, such as users, files or services, and doing something with each one.

3. Making decisions: operators and flow control. Operators And Flow Control In PowerShell Part 1 (the longest video, at about 25 minutes) and Operators & Flow Control in PowerShell Part 2 cover comparisons and branching. PowerShell’s comparison operators look different from other languages, so these lessons prevent a lot of confusion.

4. Repeating work: loops. PowerShell Loops shows how to process every item in a collection. This is where scripts start to save real time.

5. Reusable code: functions and dot sourcing. Functions In PowerShell and DotSourcing show how to wrap logic into named, reusable pieces and load them into your session from other script files.

6. Scaling out: remoting and modules. PowerShell Remoting (about 26 minutes) shows how to run commands on other machines, and PowerShell Module shows how to package your functions so they can be shared and imported. These two topics move you from personal scripts to team tools.

How the course is organised

There are 12 videos and about 3.4 hours in total. After a short overview, each video takes one topic in depth. Most run between 17 and 26 minutes, apart from the short lesson on comments.

The order builds step by step:

  • Videos 1–3: overview, introduction and comments.
  • Videos 4–5: variables and arrays.
  • Videos 6–7: operators and flow control (Parts 1 and 2).
  • Video 8: loops.
  • Videos 9–10: functions and dot sourcing.
  • Videos 11–12: remoting and modules.

How to study it step by step

  1. Open a PowerShell window next to the video and type every example yourself.
  2. Watch one topic per sitting. The videos are long and detailed, so pausing to experiment is part of learning.
  3. After the arrays video, make a small list of your own, such as a few folder names, and practise adding, reading and removing items.
  4. After loops and flow control, write a short script that checks a list of items and reports on each one.
  5. Turn that script into a function, then load it with dot sourcing from a separate file.
  6. Practise remoting only on machines you are allowed to manage, such as a test virtual machine.
  7. Finish by packaging your functions as a module so you can import them anywhere.

This course currently has no Skills Pragati hands-on lab guide, practice simulation or mock exam.

Frequently asked questions

Is the PowerShell course free?

Yes. All 12 videos are free on YouTube, and the course page lists them in order.

How long does it take?

About 3.4 hours of video. If you do one topic per day and practise as you go, two weeks is comfortable.

Do I need programming experience?

No. The course is rated Beginner and starts from the basics. A computer with PowerShell installed is all you need to follow along, plus a second test machine later if you want to try remoting.

What should I learn after PowerShell?

Within the DevOps track, Step By Step Learn Ansible and Terraform Master Classes – AWS IaaS Automation take automation further. If you manage Microsoft 365, the Microsoft Graph with PowerShell course builds directly on these skills.

Do it yourself