title: Batch launching PowerShell with a multiline command parameter
body: <p>I want to pass several lines of code from a batch file to powershell.exe as -command parameter.</p>
  
  <p>For example, code like this:</p>
  
  <pre><code>SET LONG_COMMAND=
  if ($true)
  {
  Write-Host "Result is True"
  }
  else
  {
  Write-Host "Result is False"
  }
  
  START Powershell -noexit -command "%LONG_COMMAND%"
  </code></pre>
  
  <p>I would like to do it without creating a PowerShell script file, only a batch file.<br>
  Is it possible?</p>
  
  <p>Thanks.</p>