break
The break statement is used to exit an enclosing foreach loop. The break statement cannot be used outside of a foreach loop.
foreach &Class { if (&Foreach-Variable-0 == 0xabcdef) { break } update reply { Reply-Message += "Contains %{Foreach-Variable-0}" } }