Syntax: Loops in PowerShell. • ID: #74 Code $sum=0 1..15 | ForEach-Object { $sum += $_ } Write-Host $sum Notes You can copy this snippet and adapt it. For advanced, add real-world inputs, edge cases, and tests. ← Prev Next →