User Tools

Site Tools


programmazione:abilitare_gli_script

This is an old revision of the document!


Abilitare gli script in Power Shell

Da command line:

Set-ExecutionPolicy Unrestricted

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)
programmazione/abilitare_gli_script.1497106692.txt.gz · Last modified: 10/06/2017 14:58 by 127.0.0.1