$drive = (New-Object -com scripting.filesystemobject).getdrive($share)[math]::Round($drive.TotalSize / 1GB,0)[math]::Round($drive.FreeSpace / 1GB,0)