Skip to content

Instantly share code, notes, and snippets.

@nkundu
Created October 20, 2017 21:13
Show Gist options
  • Save nkundu/4f1fae935ffa51d148df1c566e33700c to your computer and use it in GitHub Desktop.
Save nkundu/4f1fae935ffa51d148df1c566e33700c to your computer and use it in GitHub Desktop.
Recursively find large files
Get-ChildItem -Path . -Filter *.whatev -Recurse | Where-Object {$_.length/1MB -gt 50} | select fullname,@{n=”Size MB”;e={$_.length/1GB}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment