title: Export-Csv - Access to the path 'C:\export.csv' is denied
body: <p>I'm getting the information I need out of the line, although when I go to export the information, I get an error.</p>
  
  <p>When I run this code:</p>
  
  <pre><code>get-process | Export-csv -Path "C:\export.csv" -NoTypeInformation
  </code></pre>
  
  <p>I get this error:</p>
  
  <pre><code>Export-csv : Access to the path 'C:\export.csv' is denied.
  At line:1 char:14
  + get-process | Export-csv -Path "C:\export.csv" -NoTypeInformation
  +               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  </code></pre>
  
  <p>How can I export to CSV?</p>