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.


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


Leave a Reply

Your email address will not be published.