- 58lessons
- 5guided projects
- 8module checkpoints
- 2.6hours of video
What you'll learn
- Explain that PowerShell commands pass .NET objects with properties, and build pipelines that filter, project, sort and group those objects without parsing text.
- Write typed variables, strings, arrays, hashtables and custom objects, and control flow with comparisons, branches and loops.
- Handle terminating and non-terminating errors with try/catch/finally, error-action settings and strict mode, and report outcomes through exit codes.
- Read and write text, CSV and JSON files, call a web API through an injectable fetch step, and write file code that is portable between Windows and Linux.
- Test scripts with Pester, check them with PSScriptAnalyzer, and combine both in a gate that returns a clear exit code.
Skills you'll gain
- Shell
- objects
- Commands
- pipelines
- Variables
- expressions
- Functions
- parameters
- Errors
- status
- Files
- structured formats
- Safe automation
- Script tests
Tools you'll use
- PowerShell 7 (pwsh)
- Pester
- PSScriptAnalyzer
Details to know
- Certificate on completionIssued after your final project is reviewed
- 8 module checkpointsA quiz and a practical task close each module
- Self-pacedStudy any time; your progress is saved
How every lesson works
Each lesson follows the same four steps, so you always know what comes next.
- 01
Watch & Learn
A short animated video explains one idea at a time.
- 02
Guided Practice
Work through an example step by step and check the result.
- 03
Quiz & Challenge
Short questions check the idea has landed before you move on.
- 04
Mini Project
Build something useful from a project brief.
Learn at your own pace
This is a self-paced course. There are no live classes and no fixed timetable.
- Start any timeStudy when it suits you. Lessons are short, so they fit around work or college.
- Pick up where you left offYour progress is saved to your account.
- Ask when you're stuckUse Ask Mentor inside the learning platform.
Your path in 4 phases
Each phase ends with something you have built and checked.
- 01
Modules 1 to 2
Shell and objects to Commands and pipelines
Identify the PowerShell edition you are running, work only inside a disposable lab folder, discover commands and help from within the shell, and explain that commands pass .NET objects with properties rather than lines of text.
You build: Guided project “Lab object explorer”: enter-lab.ps1 and show-sizes.ps1 emitting file objects from the lab folder, with an inspector note listing the properties used.
- 02
Modules 3 to 6
Variables and expressions to Files and structured formats
Store and combine values with variables, typed values, strings, arrays, hashtables and custom objects, and control flow with comparisons, branches and loops while knowing how quoting and type conversion change a result.
You build: Guided project “Resilient importer”: Importer skeleton with typed catch blocks, strict mode, per-item non-terminating errors and documented exit codes.
- 03
Module 7
Safe automation
Make scripts that change things preview-able and confirmable, confine destructive work to a folder you own, follow a runbook, understand execution policy and signing, avoid dangerous input handling, reason about remoting, and declare which PowerShell editions a script supports.
You build: Guided project “Safe archive runbook”: Archive function with SupportsShouldProcess that previews and moves old files, behind a path guard that refuses escapes and sibling prefixes.
- 04
Module 8
Script tests
Test PowerShell code with Pester files that assert on emitted objects, files, errors and mocked dependencies, check scripts with PSScriptAnalyzer, and combine both into a single gate that ends with a clear exit code.
You build: Guided project “Tested and gated toolbox”: Pester test files for the toolbox covering object output, TestDrive file layouts, failure paths and a mocked dependency.
Full curriculum
8 modules and 58 lessons, 34 to 58 hours of study
01Shell and objects6 lessons, 3 to 4 hours
Lessons
- Identifying your PowerShell edition and version
- Building and entering the lab sandbox
- Reading verb-noun cmdlet names
- Finding commands and help from inside the shell
- Inspecting an object with Get-Member
- Why Format-Table belongs at the end of a pipeline
After this module you can
- Run a one-line check that reports the edition and version of the running session and tell pwsh from powershell.exe.
- Create a lab folder you own, move into it, and prove from the resolved path that your working location is inside it.
- Explain from a short experiment why formatting commands turn objects into display instructions and when to place them last.
02Commands and pipelines7 lessons, 3 to 5 hours
Lessons
- Streaming objects one at a time through a pipeline
- Filtering with Where-Object and comparison operators
- Choosing properties and adding calculated properties with Select-Object
- Extracting plain values with Select-Object -ExpandProperty
- Ordering and summarising with Sort-Object and Group-Object
- How piped objects bind to parameters by value and by property name
- Running a block per item with ForEach-Object and the -Parallel boundary
After this module you can
- Explain from a printed trace that a pipeline hands objects to the next command one at a time and that an array in a variable is a different thing from the stream.
- Keep only the objects whose property satisfies a condition, using both the script-block and the simplified Where-Object forms.
- Apply a script block to each pipeline item, and decide whether the -Parallel form of ForEach-Object is justified by the work.
03Variables and expressions7 lessons, 3 to 5 hours
Lessons
- Variables, dynamic typing and type constraints
- Quoting: single versus double quotes and subexpressions
- Arrays and hashtables as collections
- Building records with [pscustomobject]
- Comparison operators over single values and collections
- Branching with if, elseif, else and switch
- Loops: foreach, for, while and flow control
After this module you can
- Create variables, read their type, and add a type constraint so a bad assignment fails instead of silently converting.
- Choose the right quote style, predict what text a string produces, and embed an expression result using a subexpression.
- Pick the right loop for a task, use break and continue deliberately, and avoid the infinite-loop and off-by-one errors.
04Functions and parameters8 lessons, 4 to 6 hours
Lessons
- Writing a function and reading what it outputs
- Declaring typed parameters, defaults and positions
- Making an advanced function with CmdletBinding and mandatory parameters
- Validating input with parameter attributes
- Accepting pipeline input with begin, process and end blocks
- Splatting parameters with a hashtable
- Variable scope across functions, scripts and dot-sourcing
- Packaging functions into a script module and importing it
After this module you can
- Define a function, call it, and list every value it outputs, including values you did not intend to return.
- Write a param block with typed parameters and defaults and predict how positional and named arguments bind.
- Move related functions into a .psm1 file, choose which ones to export, and import the module from a path in a session.
05Errors and status8 lessons, 4 to 6 hours
Lessons
- Non-terminating versus terminating errors
- Catching errors with try, catch, finally and -ErrorAction Stop
- Choosing between -ErrorAction and $ErrorActionPreference
- Catching specific exception types and reading the ErrorRecord
- Catching mistakes early with Set-StrictMode
- Native command failure with $LASTEXITCODE and $?
- Script exit codes with pwsh -File and pwsh -Command
- Raising your own errors with Write-Error, throw and ThrowTerminatingError
After this module you can
- Classify an error as non-terminating, statement-terminating or script-terminating from what the script does after it.
- Wrap a risky command in try/catch/finally so a non-terminating failure is caught and cleanup always runs.
- Choose the right way to report a failure from your own function so callers can handle it.
06Files and structured formats7 lessons, 3 to 5 hours
Lessons
- Listing and testing paths with Get-ChildItem, Test-Path and Join-Path
- Reading and writing text files with explicit encoding
- Importing and exporting CSV as objects
- Reading and writing JSON with ConvertFrom-Json and ConvertTo-Json
- Calling a web API with Invoke-RestMethod through an injected fetch step
- Literal paths, wildcards and special characters in file names
- Writing file code that behaves the same on Windows and Linux
After this module you can
- Enumerate files under a lab folder, test whether a path is a file or a folder, and build child paths without string concatenation.
- Read a file as lines or as one string and write text with a stated encoding, and predict how Set-Content and Add-Content differ.
- Remove platform-specific assumptions about separators, line endings, case and drive letters from file scripts.
07Safe automation8 lessons, 4 to 6 hours
Lessons
- Previewing and confirming changes with -WhatIf, -Confirm and the preference variables
- Supporting -WhatIf and -Confirm in your own function
- Containing destructive work inside the lab folder
- Runbook discipline: preflight, preview, run, verify, record
- Execution policy and script signing: what they control and what they do not
- Handling secrets and untrusted input without Invoke-Expression
- Remoting concepts: sessions, transports and deserialized objects
- Declaring supported editions and handling PowerShell 7 versus Windows PowerShell 5.1 differences
After this module you can
- Preview a destructive built-in command with -WhatIf, answer a -Confirm prompt, and explain what $WhatIfPreference changes.
- Add SupportsShouldProcess and a ShouldProcess call around the change in a function, set a ConfirmImpact, and add a -Force switch correctly.
- Declare the engine a script needs with #Requires and branch on edition-specific features such as ForEach-Object -Parallel, null-coalescing and removed cmdlets.
08Script tests7 lessons, 3 to 5 hours
Lessons
- Installing Pester and writing a first Describe and It file
- Asserting on emitted objects and collections
- Testing file behaviour with TestDrive
- Testing failure paths with Should -Throw and exit codes
- Replacing dependencies with Mock and checking calls
- Checking scripts with PSScriptAnalyzer
- Gating a script with tests and analysis in one command
After this module you can
- Install a pinned Pester, create a *.Tests.ps1 file that loads the code under test in BeforeAll, and run it with Invoke-Pester.
- Assert on the properties, count and order of objects a function emits using Should assertions.
- Write a gate script that runs Pester and PSScriptAnalyzer and exits non-zero if either fails.
What you'll build
5 guided projects along the way, then a final project.
Lab object explorer
after module 2Order summary toolkit
after module 4Resilient importer
after module 6Safe archive runbook
after module 7Tested and gated toolbox
after module 8
Final project
PowerShell inventory script with object pipelines, safe changes and tests. Choose one option: Folder inventory and archive tool; Log summariser and rotation tool; Configuration audit and repair tool.
What you submit
Source and artifact submission: all scripts, the module file, Pester files and the gate script, plus the generated report files.
How it's reviewed
Trainer review against the rubric: Object pipeline use; Functions and module design; Error handling and status; Safety discipline; Tests and analysis; Communication.
Where you'll use it
- Produce a folder inventory as CSV or JSON for a weekly report instead of collecting it by hand.
- Run a change in preview first, then apply it with logging so the result can be checked and repeated.
Roles that use these skills
- System administrator
- IT support engineer
- DevOps engineer
Earn the certificate by building, not watching
- Complete the lessons and pass each module checkpoint.
- Build your final project and demonstrate it.
- OUTLEARN reviews your project and issues your certificate. It is not issued automatically.
Frequently asked questions
What do I need before I start?
Prerequisite courses: Programming Problem Solving. Programming Problem Solving or equivalent: you can trace a short program with variables, conditions and loops, split a task into steps, and reason about edge cases. You must be able to install PowerShell 7.x on your own laptop (Windows, macOS or a supported Linux) and open a terminal. No PowerShell, Bash or Windows administration experience is assumed. Windows PowerShell 5.1 knowledge is not required; where 5.1 differs, the course says so.6 as the current LTS.
Do I get a certificate?
We do not issue certificates until you successfully build and demonstrate your live project. Module and final assessments are planned; the module pass rule is proposed, not final. Certificates are issued by OUTLEARN staff; nothing is issued automatically.
Where do the labs run?
Labs run on the learner's own laptop with PowerShell 7.x started as pwsh, using pwsh -File for graded scripts. Pester and PSScriptAnalyzer are installed for the current user at pinned versions chosen at review (the Pester documentation of 2026-10-12 describes v6; the PSScriptAnalyzer overview lists Windows PowerShell 5.1 and PowerShell 7.2.11 or later as supported).
Be first in when PowerShell Scripting opens
Email us and we will tell you as soon as enrolment opens.
Notify me when it opens
