title: Powershell Script only opens as a .txt file when run
body: <p>Hi I have a script on a memory stick that I want to be able to run in cmd line before a computer has windows fully installed. (the stage just after you've connected to a network).</p>
  <p>Cmd used to run the script.</p>
  <pre><code>Start &gt; Run D:\pscript\Intune.ps1
  </code></pre>
  <p>This only opens a .txt file, while researching I've found that the reason this happens is due to security, is there anyway to override this bar changing the default file type out.</p>