Powershell: Find files larger than XXX

Bschelst/ January 5, 2017/ PowerShell/ 0 comments

With Powershell you can also find files which are larger than a certain size.
This can be accomplished with the command below.
In this example we are looking for files larger than 100MB, on the C drive.

Get-ChildItem c:\ -Recurse | Where-Object {$_.Length -gt 100MB} 

 

Share this Post

Leave a Comment

Your email address will not be published. Required fields are marked *

*
*