PowerShell quiz: test your understanding
Answer topic-based questions about commands, scripting and administration. Read the explanation, revisit the lesson and try the next question.
Want a guided route instead? Browse role-based learning paths to study topics in order.
Test yourself in 5 questions
Five random questions from across the tracks. Answer, get instant feedback, see your score — then retake with a fresh set.
Round complete
Start here 1 question
Hashes, help, and first commands — prove the basics.
Objects & the pipeline 5 questions
Filtering, sorting, and shaping objects.
How do you get the smallest three processes by memory?
Sort processes by memory and take the three smallest. Which pipeline does it right? Beginner
What does Get-Member tell you?
You pipe an object to Get-Member. What are you actually looking at? Beginner
What is ValueFromPipelineByPropertyName?
A parameter accepts pipeline input "by property name." What has to match for binding to work? Intermediate
When should you measure performance?
Before reaching for Measure-Command — when is measuring actually worth it? Intermediate
Why should formatting usually be late in a pipeline?
Format-Table in the middle of a pipeline breaks things downstream. Why? Intermediate
Functions & modules 4 questions
Secrets, error handling, reporting objects — plus the Functions capstone assessment.
Why avoid hard-coded passwords?
A password sits in plain text in a script. What's the real risk, and what replaces it? Intermediate
Why can catch miss an error?
Your try/catch didn't catch. What kind of error slips past, and how do you trap it? Intermediate
Why use PSCustomObject in reports?
Building a report from a loop. Why emit PSCustomObjects instead of formatted text? Intermediate
Functions capstone: defend your automation
Six checks on functions — predict, diagnose, fix, and verify. Pass mark 5 of 6. Advanced
Active Directory 1 question
Server-side AD filtering.
Remoting & automation 1 question
Just Enough Administration.
Errors, testing & governance 1 question
Pester testing strategy and performance measurement.
Error decoder
Paste the red text. The decoder names the kind of error it is and points at the lesson that fixes it. It never runs your code, and decoding happens entirely in your browser — your pasted error is never sent anywhere.