Launch this command to see actual settings:
Get-executionpolicy
If you get Restricted you need to launch this command:
Set-ExecutionPolicy Unrestricted
For security reason it should be done rollback to this setting:
Set-ExecutionPolicy Restricted