title: how to include a ":" as a parameter in powershell?
body: <p>i have a simple powershell script, like this</p>
  
  <pre><code>sqlcmd -S. -E -Q 'select ''$(x)''' -v x="c:a"
  </code></pre>
  
  <p>but i always got the error message</p>
  
  <pre><code>Sqlcmd: ':a': Invalid argument. Enter '-?' for help.
  </code></pre>
  
  <p>i figured out that it is the <code>":"</code> in the argument caused the problem, but i do not know how to escape it.</p>
  
  <p>thanks,
  David</p>