Error: The file PS1 is not digitally signed. You cannot run this script on the current system.

Error:

.\FILE.ps1 : File C:\FILE.ps1 cannot be loaded. The file C:\FILE.ps1 is not digitally signed. You cannot run this script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170.

Fix (Bypass):

Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass

[Bypass policies]

  • Nothing is blocked and there are no warnings or prompts.
  • This execution policy is designed for configurations in which a PowerShell script is built in to a larger application or for configurations in which PowerShell is the foundation for a program that has its own security model.

For more information:
http://go.microsoft.com/fwlink/?LinkID=135170

No Responses

Leave a Reply

Your email address will not be published. Required fields are marked *