Thanks Luc
that looks great but is there any way to get the reports all on the one csv .So with cluster informantion at the top followed underneath with the VM's information so it just 1 CSV for each cluster
So I suppose it just need to append the VM's information in with the cluster csv
that would be great
Thanks again you are a great help and I wish that one day I would be able to write scripts half as good as yourself
Cheers