Lesson 6 of 12 · +100 xp

Foreach

Iterate.

Explained simply

Your task

Write: foreach ($n in $nums) { Write-Host $n }

foreach.powershell
← Back