title: Using Powershell as terminal in IntelliJ IDEA IDEs like PyCharm, PHPStorm or RubyMine
body: <p>I have been attempting to run powershell as my terminal on windows in pycharm, so I did the following:</p>
  
  <p><img src="https://i.stack.imgur.com/43NPj.png" alt="enter image description here"></p>
  
  <p>However, when I try this, it says that it cannot execute my scripts, and hence I get the following error: <code>SecurityError</code> and the Fully Qualified Id is : <code>UnAuthorizedAccess</code>.</p>
  
  <p>This arises from the fact that pycharm's terminal cannot execute my <code>Powershell_profile.ps1</code> profile file.</p>
  
  <p>How can I successfully run Pycharm's terminal with Powershell?</p>
  
  <p>What I have tried so far, is going into my main powershell directory as in <code>%windir%/system32/WindowsPowerShell/1.0/profile.ps1</code>, and then change it to include the following:</p>
  
  <pre><code>Set-ExecutionPolicy Unrestricted
  </code></pre>
  
  <p>However, this does not help, and I get the same error when I try to open of pycharm's terminal.</p>
  
  <p>I have also tried to run pycharm as Admin, however this does not solve the problem either, and I get the <em>same</em> aforementioned error.</p>