The Import-Csv and ConvertFrom-Csv don't actually cause an error. $csvreport is blank after this line of code: $csvreport=typeC:\Temp\DataGrowth.csv | ConvertFrom-Csv.
I know that $csvreport is blank because I can see it in the powergui variables list and I also get the error listed below when I try to add additional lines to $csvreport
Method invocation failed because [System.Management.Automation.PSObject] doesn't contain a method named 'op_Addition'.
At H:\power cli stuff\Data_Change_Rate (With Progress Bar).ps1:39 char:15
+ $csvreport += <<<< $clusterdetails
+ CategoryInfo : InvalidOperation: (op_Addition:String) [], RuntimeException
+ FullyQualifiedErrorId : MethodNotFound
Oh same problem in powershell and powergui