PowerShell - Control Flow
Why does this PowerShell script cause an error?
$numbers = 1..3 foreach ($n in $numbers) Write-Output $n Write-Output ($n * 2)
$numbers = 1..3 foreach ($n in $numbers) Write-Output $n Write-Output ($n * 2)
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions