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

Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

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

Message par Clippy »

ps1 cannot be loaded because running scripts is disabled on this system
Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

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

Message par Clippy »

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 »