This video explains how to solve Powershell Running Scripts is Disabled Error
COMMANDS
Get-ExecutionPolicy -List
Set-ExecutionPolicy Unrestricted
Once you see the scope that has the undesired setting, you can reset it like so:
Set-ExecutionPolicy Undefined -Scope scope-name
Read this article for more info
https://www.educba.com/powershell-exe...