0

I have a PowerShell execution policy problem. At first I thought it was just because I was trying to run a script from a GitHub project, but I can't even run my own scripts. I didn't have this problem in the past, and I don't know what could have changed between then and now.

> script.ps1 cannot be loaded because the exe
cution of scripts is disabled on this system. Please see "get-help about_signing"
 for more details.
Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
KingPen2
  • 13
  • 5

1 Answers1

2

You'll need to check and potentially adjust the current policy for both the x86 and x64 versions of PowerShell (if applicable).

Use Get-ExecutionPolicy to check the current policy, and adjust accordingly with Set-ExecutionPolicy.

Refer to Using the Set-ExecutionPolicy Cmdlet for a description of the execution policies.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Kohlbrr
  • 3,861
  • 1
  • 21
  • 24