Step #1
Go to Run and type regedit
Step #2
HKEY_Local_MachineSOFTWAREMicrosoftPowerShell1ShellIdsMicrosoft.PowershellExecutionPolicy
Step #3
In that registry key, change value to Unrestricted.
Go to Run and type regedit
HKEY_Local_MachineSOFTWAREMicrosoftPowerShell1ShellIdsMicrosoft.PowershellExecutionPolicy
In that registry key, change value to Unrestricted.