Here's is the error -

ERROR : invalid method/function call: too many parameters!
Script: C:\servspace_beta1.kix
Line : 57

Here is the code -

Code:
  
For Each $Disk In $DiskSet
$co=$co+1
$dname=$Disk.Name
$percentfree=Round(DISKSPACE($strComputer,$dname,5))
$percentused=100-$percentfree
$rest=$percentfree-5
html($strComputer,$dname,$percentused,$rest,$space)



I added the $space variable but am unsure how to get the script to recognize that variable.