Scope is what the lexicon is looking at, aka what is being looked at. How are we to communicate the correct stop in your branching (example if else)?

break #complete stop of the loop

continue #skip this time but keep going through the loop

return #break and return to calling scope

exit #break EVERYthing including calling scope

note: A PowerShell best practice is to output values as you process through the loop. As opposed to saving the values in a property and then outputting at the end. This will help you when you want to pipe the data. Happy PowerShelling!