HardDiskSpace Calculation

This VBA script will allow you to check your diskspace usage on you servers. It give you fast way to check up without any management applications.

“) ReportFile.writeline(“Disk Space Report“) ReportFile.writeline(“

” & StrComputer & “
Drive / Mount Volume Name Total Capacity (in GB) Used Capacity (in GB) Free Space (in GB) Freespace %
” & Drv & “ ” & label & “ ” & TotSpace & “ ” & UsSpace & “ ” & FrSpace & “ ” & FrPercent & “%” &”
” & Drv & “ ” & label & “ ” & TotSpace & “ ” & UsSpace & “ ” & FrSpace & “ ” & FrPercent & “%” &”
” & Drv & “ ” & label & “ ” & TotSpace & “ ” & UsSpace & “ ” & FrSpace & “ ” & FrPercent & “%” &”