In PowerShell:
gci -file | sort-object size | select name, size -first 4 | % { $_.size /= 1MB; $_ } | ConvertTo-Jsoni dont think you need to select name and size, you can just remove it and use `select -first 4`, but cool, I never knew about `/=` syntax
ConvertTo-Json? What kind of naming convention is that, especially with all the other commands being lowercase?