Very disappointed in NetApp. They haven't helped and have given me the official we don't support the toolkit and to come here for support. I said wait a minute on GitHUB it says "Copyrighted by NetApp and all the developers that are taking credit work for NetApp so excuse me for thinking you might support your own product.
I was able to get around it by using a template that only selected what I needed and not the performance numbers that are causing the error.
#Workaround to avoid reading Statistics data which errors. Only read the below properties when reading fron Array.
$lun_template = Get-NcLun -template
$lun_template.vServer ="*"
$lun_template.Path ="*"
$lun_template.Mapped ="*"
$lun_template.Online ="*"
$lun_template.Volume ="*"
Try{
$luns = Get-NcLun -Attributes $lun_template -ErrorAction Stop
}Catch{
Write-Host "Failed Enumerating LUNs on $MyArray"
If ($Report) {"Failed Enumerating LUNs on $MyArray" | Out-File -FilePath $OutputFile -Append -Encoding utf8 }
Break
}
Hope that helps,