PowerShell says execution of scripts is disabled on this system.

Опубликовано: 08 Август 2026
на канале: How To
264
1

If you get that error and you're aware of the risks (Read the stackoverflow thread) Then RUN the following code in Powershell ISE (One-Time!) as Administrator!

--------------------------------------------------------
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -scope Process
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -scope CurrentUser
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -scope LocalMachine
Get-ExecutionPolicy -List
--------------------------------------------------------

Useful information:
https://stackoverflow.com/questions/4...


#powershell #windowstipsandtricks #executeautomation