title: Ignore 'Security Warning' running script from command line
body: <p>I am trying to execute a script from shared folder that I trust:</p>
  
  <pre><code>PowerShell -file "\\server\scripts\my.ps1"
  </code></pre>
  
  <p>But I get a security warning, and have to press 'R' to continue</p>
  
  <blockquote>
    <p>Security Warning Run only scripts that
    you trust. While scripts from the
    Internet can be useful, this script
    can potentially harm your computer. Do
    you want  to run
    \server\scripts\my.ps1? [D] Do not
    run  [R] Run once  [S] Suspend  [?]
    Help (default is "D"): d</p>
  </blockquote>
  
  <p>Can I ignore this warning? The desired pseudo code I want is:</p>
  
  <pre><code>PowerShell -IGNORE_SECURITY_WARNING -file "\\server\scripts\my.ps1"
  </code></pre>