PowerShell
Learn PowerShell by typing real, object-based code.
Practice PowerShell's object pipeline by typing it: cmdlets with verb-noun names, piping objects (not text) between them, filtering with Where-Object, and shaping output with Select-Object. Each snippet is idiomatic PowerShell, and an AI tutor explains every line — why the pipeline passes objects, how a property survives the pipe — so Windows automation clicks as your typing speeds up.
Progress0 / 179 solved · 0/12 sections
best wpm
0
avg wpm
0
accuracy
0%
runs
0
level
1
rating
1000
Run PowerShell on your machine
1. Install the toolchain
brew install powershell # or see docs2. Save your code as script.ps1, then compile & run
pwsh script.ps1progress by section
1Fundamentals0/16start →
2Strings In Depth0/16start →
3Text Processing0/14start →
4File I/O0/14Unlock →
Add-Content appendsWrite an array of linesRead lines and countOut-File from a pipelineRemove-Item safelySet-Content then Get-ContentTest-Path before you actHead and tail of a file$PSScriptRoot for relative pathsRead the whole file (-Raw)Round-trip through a temp fileExport-Csv and Import-CsvJSON to a file and backStream with -ReadCount
5Networking0/18Unlock →
Invoke-WebRequestInvoke-RestMethod GETTest-NetConnectionDownload a fileCheck your public IPResolve-DnsNameGet-NetIPAddress and Get-NetRouteSet a User-AgentInvoke-RestMethod POSTGet-NetTCPConnectionFollow (or stop) redirectsJSON round-tripBasic auth and bearer tokensUse an HTTP proxyRetry logicTcpClient port testA small REST wrapperParallel requests