title: Powershell Remove-Item does not delete all items
body: <p>I have a Powershell script that is supposed to delete items that are X days old. It doesnt fully work. It removes some files but not all of the files. When I run the script without <code>| Remove-Item -Force</code>, all the files that meet the requirements are displayed. So, I know the <code>where</code> statement works.</p>
  
  <p>Why doesn't <code>Remove-Item -Force</code> not delete all items that meet the requirements set be the <code>where</code> statement, and how can it be fixed?</p>
  
  <pre><code>$deleteFiles = Get-Childitem $fullTargetPath -Recurse
  | Where {$_.LastWriteTime -lt (Get-Date).AddDays(-10)} | Remove-Item -Force
  </code></pre>