title: Adding a newline (line break) to a Powershell script
body: <p>I have a script I am running in Powershell, and I want to be able to put a line in my resulting text file output between the ccript name and the script content itself. </p>
  
  <p>Currently, from the below, the line <code>$str_msg = $file,[System.IO.File]::ReadAllText($file.FullName)</code> is what I need, but I need a line to separate <code>$file</code> and the result of the next expression. How can I do this?</p>
  
  <pre><code>foreach ($file in [System.IO.Directory]::GetFiles($sqldir,"*.sql", 
    [System.IO.SearchOption]::AllDirectories))
  {
    $file = [System.IO.FileInfo]::new($file);
  
  
    $Log.SetLogDir("");
    $str_msg = $file,[System.IO.File]::ReadAllText($file.FullName);
  
  
    $Log.AddMsg($str_msg);
    Write-Output $str_msg;
  
  
    # ...
  
  }
  </code></pre>