title: Target Shortcut for PowerShell keeps rewriting
body: <p>I want to run a PowerShell script from a shortcut. I am running Windows 10. According to $PSVersionTable.PSVersion I am running version 5.1 of PowerShell.</p>
  <p>In my Target I type the following:</p>
  <pre><code>powershell.exe -ExecutionPolicy Bypass -File C:\Users\myname\directory\search5.ps1
  </code></pre>
  <p>FYI, search5.ps1 is a 2 line script:</p>
  <pre><code>$text=(Get-Clipboard)
  Start &quot;http...&quot;=$text
  </code></pre>
  <p>I click on my shortcut and it runs -- but only once.</p>
  <p>After that, the Target rewrites itself to the following and stops working:</p>
  <pre><code>C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File C:\Users\myname\directory\search5.ps1
  </code></pre>
  <p>Is there any way to stop it from doing this? Why is it doing this?</p>