GotchiCode needs JavaScript for the code editor and live challenges. Please enable it to play.
GotchiCode
Paths
Courses
Community
Arcade
Leaderboard
◂
Learn PowerShell
▾
Before You Battle
0/4
How Lessons Work
10 XP
What Is PowerShell?
10 XP
Your First Output
10 XP
Strings in Quotes
10 XP
▾
Variables
0/4
Your First Variable
10 XP
Using Variables
10 XP
Numbers
10 XP
Strings That Expand
10 XP
▾
Cmdlets
0/4
Verb-Noun
15 XP
Parameters
15 XP
Getting Help
15 XP
Aliases
15 XP
▾
Numbers
0/4
Arithmetic
15 XP
Division and Remainder
15 XP
The Math Toolbox
15 XP
Order of Operations
15 XP
▾
Strings
0/5
Joining Strings
15 XP
Subexpressions
15 XP
The Format Operator
15 XP
String Methods
15 XP
Length and Slices
15 XP
▾
Conditions
0/5
Comparison Operators
15 XP
if
15 XP
else and elseif
15 XP
Logical Operators
15 XP
Truthiness
20 XP
▾
Arrays
0/5
Making Arrays
15 XP
Reaching Into an Array
15 XP
Count and Slices
15 XP
Growing an Array
15 XP
Searching and Sorting
15 XP
▾
Loops
0/5
The foreach Loop
15 XP
The for Loop
15 XP
The while Loop
15 XP
break and continue
15 XP
Total Damage
20 XP
▾
Hashtables
0/4
Making Hashtables
15 XP
Reading and Writing Values
15 XP
Keys and Values
15 XP
Nested Hashtables
15 XP
▾
Functions
0/5
Defining a Function
15 XP
Parameters
15 XP
Returning Values
15 XP
Default Values
15 XP
Fix the Function
15 XP
▾
The Pipeline
0/5
What Is the Pipeline?
15 XP
Filtering with Where-Object
15 XP
Transforming with ForEach-Object
15 XP
Chaining Stages
15 XP
Measuring with Measure-Object
20 XP
▾
Objects
0/5
Everything Is an Object
15 XP
Picking with Select-Object
15 XP
Sorting by a Property
15 XP
Custom Objects
15 XP
Grouping with Group-Object
20 XP
▾
Pattern Operators
0/4
The -match Operator
15 XP
Wildcards with -like
15 XP
Replacing Text
20 XP
Membership with -in and -notin
15 XP
▾
Switch
0/3
The switch Statement
15 XP
switch -Wildcard
20 XP
Fix the Switch
20 XP
▾
Errors
0/4
Two Kinds of Error
15 XP
try and catch
20 XP
Raising Errors with throw
20 XP
Fix the Fallout
20 XP
▾
Text Tools
0/4
Splitting Strings
15 XP
Joining Strings
15 XP
Select-String, the PowerShell grep
20 XP
Here-Strings
20 XP
▾
Scripts & Scope
0/4
What Is a Script?
15 XP
Script Arguments
20 XP
Scope
20 XP
Exit Codes
20 XP
▾
Working with Files
0/4
Reading Files with Get-Content
15 XP
Writing Files
15 XP
Checking with Test-Path
15 XP
Counting Matching Lines
20 XP
▾
Capstone: The Codeweald Trials
0/4
The Stat Sheet
25 XP
The Damage Engine
25 XP
Triage the Battle Log
25 XP
The Final Battle
30 XP
Loading lesson…