title: PowerShell Format-Table -AutoSize not Producing an Output File
body: <p>When running the following line in PowerShell including the "Format-Table -AutoSize", an empty output file is generated:</p>
  
  <p><code>Get-ChildItem -Recurse | select FullName,Length | Format-Table -AutoSize | Out-File filelist.txt</code></p>
  
  <p>The reason I need the output file to be AutoSized is because longer filenames from the directoy are being trunacted. I am trying to pull all Filenames and File Sizes for all files within a folder and subfolders. When removing the -Autosize element, an output file is generated with truncated file names:</p>
  
  <p><code>Get-ChildItem -Recurse | select FullName,Length | Out-File filelist.txt</code></p>