title: use powershell to print a list of files inside a folder and its subfolders
body: <p>i need to print all the files included in a folder and its subfolders.
  i tried with this command</p>
  <pre><code>Get-ChildItem -Path 'c:\mypath\' -File -Recurse | Out-File -FilePath 'c:\mypath\files.txt'
  </code></pre>
  <p>If i run the first part alone, i get the result in powershell with no errors, but if i run the full line, i get the following error</p>
  <pre><code>Get-ChildItem : The tag present in the reparse point buffer is invalid.
  At line:1 char:1
  + Get-ChildItem -Path 'C:\Users\XXX ...
  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  + CategoryInfo : ReadError: (C:\Users\XXXX:String) [Get-ChildItem], IOExcep
  tion
  + FullyQualifiedErrorId : DirIOError,Microsoft.PowerShell.Commands.GetChildItemCommand
  </code></pre>
  <p>how to fix? is there also a way to print only the files with their path in the same line? I'd need a file in a similar format</p>
  <p><strong>filename size lastEdited path</strong></p>
  <p>thank you so much</p>