title: Passing new line from command line to PowerShell
body: <p>How to pass a new line character from the command line to PowerShell?</p>
  
  <pre><code>// MyScript.ps1:
  [CmdletBinding()]
  Param(
      [Parameter()] $Param
  )
  
  Write-Host $Param
  
  // Command line (not PowerShell - cmd.exe!)
  powershell.exe -File MyScript.ps1 -Param "First`nSecond"
  </code></pre>
  
  <p>Does not work. Also using the command line's new line character <code>\n</code> does not work. So how to pass a new line tothe command line?</p>