title: Powershell Export-csv autosize cells
body: <pre><code>$info =@()
  $info += get-aduser -f {filter -and
     Filter...etc} -properties *
  For each ($user in $info){
    $exporting =[pscustomobject]@{
      Obj1=$info.property
      ...etc
    }
  
  $export += $exportinfo}
  
  $Export | export-csv "file path" -notypeinfo..etc
  </code></pre>
  
  <p>Keep in mind this is a small portion of a 300+ line script I have going.</p>
  
  <p>It works perfectly how I want it to. However, I would like to know how to autosize the cells in thr csv file.</p>