alanrenouf / vCheck-vSphere

vCheck Daily Report for vSphere
MIT License
732 stars 326 forks source link

Update script so it will not overwrite variable $VM #739

Closed SnakeNET64 closed 1 year ago

SnakeNET64 commented 3 years ago

I have tested and when this script is run, the variable $VM (which contains alls VMs) is overwritten by the last VM checked. I have checked the number of objects in variable $VM and when this script is run, the count is 1 (the last one) causing next scripts to fail (as I only have 1 VM).