Is there a good way to see scope in PS ISE for seeing where Break, Continue and Return will go?

I’ve only really used the basic functions of PS ISE. I’ve written some decent scripts with a couple nested for loops, with plenty of if thens interspersed within those for loops.

My question is if there is a way to see where a continue, break or return would end up? If I have 3 nested for loops, which level?

Also, I am struggling to understand the purpose of the Return function.

submitted by /u/NotTobyFromHR
[link] [comments]

Leave a Reply