Unaccounted data is stored in the trash

How many files older than 7 days?
PowerShell

Get-ChildItem -Path E:\Storj\trash\ -File -Recurse | Where-Object { $_.LastWriteTime -lt (Get-Date).AddDays(-8) } | Measure-Object -Property Length -Sum
2 Likes