if all you want is the folder size....


$folder = "c:\temp"
$foldersize = CreateObject("Scripting.FileSystemObject").GetFolder($folder).size