PowerShell
Public
List Large Files
Find large files in the current folder and subfolders.
#powershell
#windows
#files
#cleanup
PowerShell
Get-ChildItem -Recurse -File |
Where-Object { $_.Length -gt 100MB } |
Sort-Object Length -Descending |
Select-Object FullName, @{Name="SizeMB"; Expression={[math]::Round($_.Length / 1MB, 2)}}
Notes
Useful when cleaning up a project folder or downloads directory.