## Powershell Scripts that saves your Time 

**1. Display the size of each folder in Human Readable format.**  

```
Get-ChildItem -Directory | ForEach-Object {
    $size = (Get-ChildItem -Path $_.FullName -Recurse -File | Measure-Object -Property Length -Sum).Sum
    [PSCustomObject]@{
        FolderName = $_.Name
        SizeMB = "{0:N2}" -f ($size / 1MB)
    }
} | Sort-Object SizeMB -Descending
```

Output: 

    FolderName    SizeMB
    ----------    ------
    BigFolder     1254.73
    SmallFolder     23.45
    TinyFolder       0.89


I will add more tips in my upcoming weeks ...
