Changes

Jump to: navigation, search
Executing PowerShell Scripts
</pre>
This is another security measure which prevents the execution of PowerShell scripts by default, primarily to stop malicious scripts of being executed without the user's knowledge. To enable script execution, the following command must first be issued:
<pre>
</pre>
To launch the script from the command prompt without entering PowerShell 's interactive mode, simply pass the script to the ''powershell'' command at the command prompt using the ''-command'' option:
<pre>

Navigation menu