Forum Discussion
Easy way to find large files in Windows 10 so I can delete them all?
I used a Windows PowerShell script to find large files in Windows 10 by scanning a folder and its subfolders, filtering files by size, and sorting the results from largest to smallest. It helped me identify files worth reviewing before freeing up disk space. This approach is free and uses built-in Windows tools.
Main PowerShell script:
Get-ChildItem "C:\Users\$env:USERNAME\Downloads" -File -Recurse -ErrorAction SilentlyContinue |
Where-Object { $_.Length -ge 100MB } |
Sort-Object Length -Descending |
Select-Object FullName, @{Name="SizeMB";Expression={[math]::Round($_.Length/1MB,2)}}
This lists files at least 100 MB in your Downloads folder and its subfolders. Change the folder path if needed.
I found this useful for finding large files in Windows 10 without installing extra software. After reviewing the results, I deleted only files I recognized and no longer needed. This is a practical way to find large files in Windows 10, but the script only lists files; it does not delete them automatically. Avoid deleting Windows system files or anything whose purpose you don't understand.