Powershell script to find the largest file on given folder
Below script will list the files that is large then 1000MB on a given drive.
function large_files
{
Get-ChildItem C:\ -recurse | where {$_.length -gt 1000MB -and !$_.PSiscontainer}
}
large_files
#powershell #windows 8
0 comments :