PowerShell says execution of scripts is disabled on this system. #shorts

preview_player
Показать описание
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:

#powershell #windowstipsandtricks #executeautomation
Рекомендации по теме