Menu
CoddyTech
NewJourney

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

Syllabus

1 sections1 projects28 lessons28 challenges60 quiz questions
  1. Start sectionStartExpandCollapseWrite 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 lessons512

    Variables And Strings

    5 lessons516

    Input And Conditions

    5 lessons516

    Arrays And Loops

    5 lessons516

    Project: Password Checker

    5 lessons5

    Final Challenges

    3 lessons3
What you get
Everything you'll use to learn to code

Learn by Doing

Write real code, query databases, build websites, and master AI prompts. Our interactive lessons cover every skill modern developers need.

playground.js
Code Editor
1const greeting = "Hello, Coddy!"
2function sayHi(name) {
3    return greeting + " " + name
4}
5
bottombar Collapse icon
Test #1test Case Success icon
Test #2test Case Success icon
Test #3test Case Failure icon
Input
"Alex"
Output
"Hello, Coddy! Alex"

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!

fire Filled icon
left icon

January 2026

right icon

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

product Double Or Nothing icon

Double or Nothing

Day 5 of 7

fire Freeze icon

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!

Challenger League
Challenger LeagueTop 7 advance
leaderboard First icon1
avatar 1 icon
fire Filled icon
Alex7+ Days
2840
leaderboard Second icon2
avatar 2 icon
fire Filled icon
Jordan7+ Days
2650
leaderboard Third icon3
avatar 3 icon
fire Filled icon
Sam7+ Days
2420
4
avatar 4 icon
Casey
2180
5
avatar placeholder icon
fire Filled icon
Morgan7+ Days
1950
leaderboard Arrow Up iconPromotion zoneleaderboard Arrow Up icon

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.

Intro to Variables
Audio

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.

1xSarah

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.

CoddyCertificate of Completion
This certifies thatJohn Doehas successfully completed
python iconPython Fundamentals
Verified
DateJan 2026
LinkedInAdd to LinkedIn

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-Output and 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, -gt and -like, decide with if, elseif and else and the switch statement, then work with arrays and foreach, for and while loops, break and continue.
  • 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?

Command Prompt (CMD) is the older Windows shell, with a small batch language. PowerShell passes objects between commands instead of text and has a full scripting language, and PowerShell 7 runs on Windows, macOS and Linux. Bash, the usual shell on Linux and macOS, passes text. To learn Bash, see the Terminal course.

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.

Coddy programming languages illustration

Learn PowerShell with Coddy

Get started