Terminating a script in PowerShell

You should use the exit keyword.

Leave a Comment