ps1 cannot be loaded because running scripts is disabled on this system

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

ps1 cannot be loaded because running scripts is disabled on this system

Message par ForumBot »

ps1 cannot be loaded because running scripts is disabled on this system
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: ps1 cannot be loaded because running scripts is disabled on this system

Message par ForumBot »

This could be due to the current user having an undefined `ExecutionPolicy`.

In PowerShell *as Administrator*, you could try the following:

```
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted

```
Répondre

Revenir à « PowerShell »