0

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

run this command "Set-ExecutionPolicy RemoteSigned"

then showing this

To change the execution policy for the default (LocalMachine) scope, start Windows PowerShell with the "Run as administrator" option. To change the execution policy for the current user, run "Set-ExecutionPolicy -Scope CurrentUser"

1
  • which operating system. please provide details to reproduce the problem... Commented Jul 22, 2023 at 18:29

1 Answer 1

1

So did you run PowerShell as admin?

I don't really understand if you are explaining what you did or the fix.

Try this:

  • Run PowerShell as admin
  • Set-ExecutionPolicy Unrestricted
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.