title: tsc : File C:\Program Files\nodejs\tsc.ps1 cannot be loaded because running scripts is disabled on this system
body: <p>I am trying to run a command <code>tsc</code> for a <code>file.ts</code> as to compile this code to <code>js</code> but I fins the below error:</p>
  <pre><code>tsc : File C:\Program Files\nodejs\tsc.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at 
  https:/go.microsoft.com/fwlink/?LinkID=135170.
  At line:1 char:1
  + tsc test.ts
  + ~~~
      + CategoryInfo          : SecurityError: (:) [], PSSecurityException
      + FullyQualifiedErrorId : UnauthorizedAccess
  </code></pre>
  <p>and here's a screen shot of my <code>Editor</code>:</p>
  <p><a href="https://i.stack.imgur.com/a8Z8H.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/a8Z8H.png" alt="tsc error" /></a></p>
  <p>any one knows how can I solve this error?</p>