PowerTip: Use PowerShell and Graphical Tool to View Files
Summary: Use Windows PowerShell and a graphical tool to view large files.
How can I use Windows PowerShell to easily see what files in a folder are the largest so I can clean up my file system?
Use the Get-ChildItem cmdlet to return the contents of a folder, select the name and length of the files, then
pipe the results to the Out-GridView cmdlet for easy viewing. This example uses a folder named C:\fso:
Get-ChildItem c:\fso | Select name, length | Out-GridView