Monday 30 January 2017

Windows Powershell command to list files greater than 500 MB size in any drive

Launch powershell as administrator.

Get-ChildItem -Path C:\ -Recurse | Where-Object {$_.length/1MB -gt 500} | select fullname,@{n=”Size MB”;e={$_.length/1MB}} 



No comments:

Post a Comment

Tweets by @sriramperumalla