title: Trying to display the contents of a folder including the size, date modified, and length
body: <p>This script is working so far, but I need the size to be in KB. It works as well, but when I call for a list of files it just outputs the KB size below the list, instead of within the list of itself.</p>
  
  <pre><code>$fileList = Get-ChildItem "E:\"
  foreach($file in $fileList) {
      ls $file | select -Property fullName, LastWriteTime, length
  }
  foreach($file in $fileList) {
      Write-Host((Get-Item $file).length/1KB) | Sort-Object fullName, LastWriteTime, length
  }
  </code></pre>
  
  <p>I want to see how I can get the KB size to populate the list under length, instead of the default file size being displayed.</p>