Powershell for disk space

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Olaf Soyk Olaf Soyk 1 month ago.

  • Author
    Posts
  • #56977
    Profile photo of M1981
    M1981
    Participant

    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!

  • #56981
    Profile photo of Olaf Soyk
    Olaf Soyk
    Participant

    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.

You must be logged in to reply to this topic.