title: PowerShell in bat (multiline code as one line)
body: <p>There is a working batch file with PowerShell code in one line:</p>
  
  <pre><code>powershell -Command "&amp; {$cont = wget http://САЙТ.info/; $cont = $cont.Content; $FilePath = 'contentFronHtml.txt' -f $env:SystemDrive; $cont | Out-File -FilePath $FilePath -Append -Width 200;}"
  </code></pre>
  
  <p>I want to break the PowerShell code to get something like:</p>
  
  <pre><code>SET LONG_COMMAND="$cont = wget http://САЙТ.info/;"
  "$cont = $cont.Content;"
  "$FilePath = 'contentFronHtml.txt' -f $env:SystemDrive;$cont | Out-File -
  FilePath; $FilePath -Append -Width 200;"
  powershell -Command "&amp; {LONG_COMMAND}"
  </code></pre>
  
  <p>How do I connect strings of PowerShell code?</p>