$Users = Get-ChildItem C:\Users\ -Exclude "Administrator","Public","Default*" # Exclude any other defaults that you don't want. foreach($User in $Users.name){ $Path = "C:\Users\$User\Desktop"; $items = Get-ChildItem $Path -Recurse | Measure-Object -Property Length -Sum -ErrorAction SilentlyContinue; $Path + " - " + "{0:N2}" -f ($items.sum / 1MB) + "MB" + "`n" } foreach($User in $Users.name){ $Path = "C:\Users\$User\Documents"; $items = Get-ChildItem $Path -Recurse | Measure-Object -Property Length -Sum -ErrorAction SilentlyContinue; $Path + " - " + "{0:N2}" -f ($items.sum / 1MB) + "MB" + "`n" } foreach($User in $Users.name){ $Path = "C:\Users\$User\Downloads"; $items = Get-ChildItem $Path -Recurse | Measure-Object -Property Length -Sum -ErrorAction SilentlyContinue; $Path + " - " + "{0:N2}" -f ($items.sum / 1MB) + "MB" + "`n" } foreach($User in $Users.name){ $Path = "C:\Users\$User\Favorites"; $items = Get-ChildItem $Path -Recurse | Measure-Object -Property Length -Sum -ErrorAction SilentlyContinue; $Path + " - " + "{0:N2}" -f ($items.sum / 1MB) + "MB" + "`n" } foreach($User in $Users.name){ $Path = "C:\Users\$User\Music"; $items = Get-ChildItem $Path -Recurse | Measure-Object -Property Length -Sum -ErrorAction SilentlyContinue; $Path + " - " + "{0:N2}" -f ($items.sum / 1MB) + "MB" + "`n" } foreach($User in $Users.name){ $Path = "C:\Users\$User\Pictures"; $items = Get-ChildItem $Path -Recurse | Measure-Object -Property Length -Sum -ErrorAction SilentlyContinue; $Path + " - " + "{0:N2}" -f ($items.sum / 1MB) + "MB" + "`n" } foreach($User in $Users.name){ $Path = "C:\Users\$User\Videos"; $items = Get-ChildItem $Path -Recurse | Measure-Object -Property Length -Sum -ErrorAction SilentlyContinue; $Path + " - " + "{0:N2}" -f ($items.sum / 1MB) + "MB" + "`n" }