I'm trying to create a custom hash table using the following code but I'm not getting any output
foreach ($user in $users){
$files = Get-ChildItem -Recurse "\\192.168.1.2\c$\user\$user"
$totalsize = ($files | Measure-Object -Sum Length).sum / 1mb
$totalsize = [decimal]::round($totalsize)
$output=@{"User"="$user" ; "Size" = "$totalsize"}
$output? Currently you have nothing in this statement that actually outputs anything. :-)