I have been attempting to run powershell as my terminal on windows in pycharm, so I did the following:
In the Default Shell TextBox you can append the execution policy command line option like so:
powershell.exe -Executionpolicy Unrestricted