title: Escaping quotes and double quotes
body: <p>How do I properly escape the quotes in the <code>-param</code> value in the following command line?</p>
  
  <pre><code>$cmd="\\server\toto.exe -batch=B -param="sort1;parmtxt='Security ID=1234'""
  Invoke-Expression $cmd 
  </code></pre>
  
  <p>This of course fails. I tried to escape the quotes (single and double) using the escape character ` and did various combination, but nothing is working.</p>