![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Re: break question The break statement won't work properly in the pipeline, it's designed for PpwerShell's looping statements. Take a peak at about_break. # try the ForEach statement in your script instead: foreach ($i in 0..10) { if ($i -eq 3){ "it is 3" break } $i } "after loop" -- Kiron |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Trouble with Break | PowerShell | |||
| Did I break it ? | General Discussion | |||
| Comedy Break | Vista General | |||
| Break away | Vista General | |||