Learn PowerShell
A free, interactive PowerShell course for complete beginners. Write PowerShell 7 scripts, press Run to see their output, and earn a certificate when you finish.
28 lessons28 challenges60 quiz questionsAbout 2 hours
- Beginner friendly
AI-assisted coding help
Hands-on interactive lessons
Quizzes to test your knowledge
Free certificate of completion
Syllabus
Section 1
PowerShell Basics
Start sectionStartWrite your first PowerShell scripts: output and comments, cmdlets and parameters, variables and numbers, strings and format strings, input, conditions, switch, arrays and loops. You finish with a password checker script.Getting Started
5 lessons512Variables And Strings
5 lessons516Input And Conditions
5 lessons516Arrays And Loops
5 lessons516Project: Password Checker
5 lessons5Final Challenges
3 lessons3
Learn by Doing
Write real code, query databases, build websites, and master AI prompts. Our interactive lessons cover every skill modern developers need.
Build Your Streak
Stay consistent and watch your progress grow! Track your daily coding habit, protect your streak with freeze days, and earn rewards for showing up every day.
12 days streak
Return tomorrow to keep your streak!
January 2026
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
21
22
23
24
25
26
27
28
29
30
Double or Nothing
Day 5 of 7
Streak Freeze
2 left
You're Not Alone
Compete on global leaderboards, invite friends to earn rewards, and celebrate each other's wins. Coding is better with friends!
Every way to learn
Read, listen, test yourself, ask the AI, or look up anything you've already covered. Every lesson meets you where you are.
A variable is a named container that stores a value you can reference later in your program.
In Python, you create one by writing the name, an equals sign, then the value you want to store.
The value can change over time. Reassigning the name simply points it to a new value.
Earn a Certificate
Earn certificates for every course you complete. Add them to your LinkedIn profile and resume to showcase your coding expertise to employers.
Why learn PowerShell with Coddy
- Every script runs on PowerShell 7 on Coddy's servers: you edit
main.ps1, press Run, and see what it prints. There is nothing to install, on Windows, macOS or Linux. - Start with output and comments, cmdlets such as
Write-Outputand their parameters, variables, numbers and math, strings and quotes, and format strings with-f. Recaps build a welcome banner and a price tag. - Read input with
Read-Host, compare with-eq,-gtand-like, decide withif,elseifandelseand theswitchstatement, then work with arrays andforeach,forandwhileloops,breakandcontinue. - Put it together in a password checker that tests length, digits and capitals and gives a strength score, then practice with a temperature table, a word counter and a number guessing judge.
Questions about learning PowerShell
What is PowerShell?
PowerShell is a command-line shell and scripting language from Microsoft. Its commands, called cmdlets, pass objects instead of plain text, which makes scripts for automating tasks short and readable. PowerShell 7 is open source and runs on Windows, macOS and Linux; this course uses it.
PowerShell vs Command Prompt (CMD): what is the difference?
Do I need programming experience to learn PowerShell?
No. The course starts from your first line of output and explains variables, conditions and loops as it goes. If you already know another language, the early lessons move quickly.
Do I need to install PowerShell?
No. Your scripts run on PowerShell 7 on Coddy's servers. The course is on the website, on a computer or a phone, and not in the Coddy mobile apps. To run scripts on your own computer later, use the PowerShell that comes with Windows or install PowerShell 7: everything you learn here carries over.
How are the exercises checked?
Each check runs your script, gives it the lesson's input, and compares what it prints with the expected output. Any error fails the check. A lesson passes when your script prints the right result, however you wrote it.
Does the course teach Windows administration or Azure?
Not yet. The course teaches the PowerShell language: cmdlets, variables, strings, conditions, arrays and loops. Managing Windows services, the registry, Active Directory and Azure is not covered, because the scripts run on Linux.
Is the PowerShell course free?
Yes. The lessons, the hints and the certificate are free. A free account works through a few lessons a day, and Pro removes the daily limit.
Do I get a certificate for the PowerShell course?
Yes. When you finish the course you get a free certificate of completion, with its own page you can share or add to LinkedIn.