Buenas,
me lo voy a apuntar para que la próxima vez que me aparezca este error
1: C:\>;powershell.exe -command ./New-Scriptazo.ps1
2: File C:\\New-Scriptazo.ps1 cannot be loaded because the execution of scripts is disabled on this system.
3: Please see "get-help about_signing" for more details.
4: At line:1 char:22
5: + ./New-Scriptazo.ps1 <;<<<
6: + CategoryInfo : NotSpecified: (:) [], PSSecurityException
7: + FullyQualifiedErrorId : RuntimeException
me acuerde que la sentencia desde la consola de PowerShell para habilitar la ejecución de comandos es
1: Set-ExecutionPolicy RemoteSigned
Listo Brunito???
Saludos @ La Finca
El Bruno
Fuente: http://technet.microsoft.com/en-us/library/ee176949.aspx

Leave a comment