meanwhile, I tried to run the script for ESXi host CPU average and get the below error.
Export-Csv : A parameter cannot be found that matches parameter name 'UseCulture'.
At C:\pf.ps1:15 char:78
+ $report | Export-Csv "C:\BusinessHours-cpu.csv" -NoTypeInformation -UseCulture <<<<