title: Export-Csv doesn't create a file
body: <p>I need to export CSV data to a CSV file. I have this code:</p>
  
  <pre><code>$Input | where {$AnotherFile.userPrincipalName -notcontains $_.login} |
      Export-Csv -Path "$PSScriptRoot + \output.csv" -Delimiter ";" -NoTypeInformation
  </code></pre>
  
  <p>In this case, the script ends with this error: Part of path "<em>script root</em> + \output.csv was not found". The <em>script root</em> is correctly written full path to the folder, where the script is located.</p>
  
  <p>I tried also this:</p>
  
  <pre><code>$Input | where {$AnotherFile.userPrincipalName -notcontains $_.login} |
      Export-Csv -Path "output.csv" -Delimiter ";" -NoTypeInformation
  </code></pre>
  
  <p>In this case, the script seems to finish smoothly (no error is displayed), but the file is not created. I even tried search the disk, if it wasn't created in another directory.</p>
  
  <p>This works perfectly correct:</p>
  
  <pre><code>$Input | where {$File.userPrincipalName -notcontains $_.login}
  </code></pre>
  
  <p>In this case I get precisely all the data I want, listed on the screen. Which is nice, but useless. What error do I make in the <code>Export-Csv</code> cmdlet?</p>