Powershell for disk space

Hi All,

Using powershell command I want list out/display TOP 5 folders and files within those folders in a recursive fashion consuming more space on a specific drive. At run time, I ll input the drive letter as say C: or D: , it should list out folders n files sizes in GB.
Does anybody has such script handy ? IF so, kindly share it.

Thank you!

You can find prewritten scripts here: Microsoft Script Center OR you start to learn Powershell here: Windows Powershell Scripting … and do it by yourself … trust me It’s worth it.