User Tools

Site Tools


programmazione:abilitare_gli_script

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

programmazione:abilitare_gli_script [10/06/2017 14:58] – external edit 127.0.0.1programmazione:abilitare_gli_script [20/12/2021 05:46] (current) lrosa
Line 1: Line 1:
 +====== Abilitare gli script in Power Shell ======
 +
 +Da command line:
 +<code powershell>Set-ExecutionPolicy Unrestricted</code>
 +
 +Via registry 
 +  * ''HKEY_Local_Machine\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.Powershell''
 +  * Creare una voce stringa ''ExecutionPolicy''
 +  * I valori che possono essere assegnati sono:
 +    * Restricted
 +    * All Signed
 +    * Remote Signed
 +    * **Unrestricted** (è quello che serve)