|
Re: BREAK out of a LOOP I recommend only using break inside a language contruct look like
foreach($a in $b) rather than in foreach-object
because if a break happens to escape outside of a language loop, it can
BReAK the whole pipeline as it stops the pipelines and causes the
cmdlets to get an exception.
-Karl |