shellreps

What's covered

Each room is a flag-based mission: read the task on the left, run the command in the terminal on the right, type back what it printed. Progress resets on reload for now. It's a place to practice syntax, not a graded course yet.

Navigating the filesystem

  • dir / Get-ChildItem / gci
  • cd <name> / Set-Location / sl
  • pwd / Get-Location / gl

Working with files

  • cat / type / Get-Content
  • write f=text / Set-Content
  • Add-Content f=text / ac (appends)
  • del / rm / Remove-Item
  • mkdir / New-Item

File management

  • copy a b / Copy-Item / cpi
  • ren a b / Rename-Item / rni
  • move a b / Move-Item / mi
  • test a / Test-Path / tp
  • findstr p f / Select-String / sls
  • Clear-Content f / clc

Variables

  • $name=value
  • bare $name to print it
  • Write-Host $name / echo $name
  • Remove-Variable name / rv

System info

  • Get-Date
  • Get-Process <name> / gps
  • Stop-Process <name> / spps / kill
  • whoami, hostname
  • $env:USERNAME, $env:COMPUTERNAME, $env:OS

Network recon

  • Get-NetTCPConnection / netstat
  • Test-Connection <host> / ping
  • Resolve-DnsName <host> / nslookup
  • Get-NetIPConfiguration / ipconfig
  • Get-NetFirewallRule

Services

  • Get-Service <name> / gsv
  • Stop-Service <name> / spsv

Persistence hunt

  • Get-LocalUser <name>
  • Disable-LocalUser <name>
  • Get-ScheduledTask <name>
  • Disable-ScheduledTask <name>

Pipelines

  • dir | Where-Object Name -like text
  • dir | Where-Object Size -gt/-lt/-ge/-le/-eq N
  • dir | Sort-Object / -Descending
  • dir | Select-Object -First N / -Last N
  • dir | Measure-Object
  • dir | Group-Object
  • stages chain: a | b | c
Three room formats. Walkthroughs name every command up front, good for a first pass at a topic. Challenges test the same ground with the command hidden. Every four rooms, a checkpoint drops the category labels entirely and mixes a scenario out of everything since the last one. Hit the hint button and it escalates through Hint, Clue, then Spoiler, so the answer is always reachable, just not free.
Note on naming. Command names and aliases mirror real PowerShell (that's the point, you're learning transferable syntax, but the engine underneath is a small custom interpreter, not Microsoft's PowerShell. It does not cover objects, .NET types, remoting, modules, or scripting constructs like loops and functions.

Walkthroughs

Challenges

Checkpoints

more rooms coming soon