title: Why is line continuation needed inside a scriptblock?
body: <p>Why does PowerShell need a line continuation backtick after the first condition of the <code>Where-Object</code> scriptblock? It should be clear that the scriptblock has not yet ended as there has been no closing curly brace <code>}</code>.</p>
  
  <p>Why does this work:</p>
  
  <pre><code>Get-Process | Where-Object {
      ($_.Responding -ne $true) `
      -or ($_.ProcessName -like 'W*')
  }
  </code></pre>
  
  <p>and this doesn't:</p>
  
  <pre><code>Get-Process | Where-Object {
      ($_.Responding -ne $true)
      -or ($_.ProcessName -like 'W*')
  }
  </code></pre>
  
  <p>This also fails.</p>
  
  <pre><code>Get-Process | Where-Object {
      (
          ($_.Responding -ne $true)
          -or ($_.ProcessName -like 'W*')
      )
  }
  </code></pre>