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 *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
*
*

18 − 7 =