Changes

Jump to: navigation, search
The PowerShell exit Keyword
== The PowerShell exit Keyword ==
A Windows PowerShell script may either be allowed to run through to completion, at which point it will exit automatically, or an exit may be forced at any point in the script through the use of the ''exit'' keyword. For example, the following script exits if the correct user name is not passed through as an argument:
<pre>

Navigation menu