Powershell Tip #4: Difference between Break and Continue

By | July 9, 2015

Tip: The difference between Break and Continue statements:

Continue : the loop continues but skips just the current iteration.
Break : exits a loop or a switch statement.

difference-break-continue

Note: to exit a function, use the return statement.


previous-buttonnext-button

Leave a Reply

Your email address will not be published.