Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Powershell
- Get-ChildItem | Where-Object { $_.PSIsContainer } | ForEach-Object { $_.Name + ": " + "{0:N2}" -f ((Get-ChildItem $_ -Recurse | Measure-Object Length -Sum -ErrorAction SilentlyContinue).Sum / 1MB) + " MB" }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement