alanrenouf / vCheck-vSphere

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

$Server variable now stored in "00 Connection Plugin for vCenter.ps1" #613

Closed flynngw closed 6 years ago

flynngw commented 6 years ago

I have noticed that the $Server variable is now stored in "00 Connection Plugin for vCenter.ps1", and its missing from the "GlobalVariables.ps1" file. Was this intentional? It just decentralizes the settings somewhat and prevents the auto-sent emails from including the server name unless $Server is manually added into the "GlobalVariables.ps1" file also.

Sneddo commented 6 years ago

This was an intentional change. It separates the configuration of the vCheck report from the configuration of the data in the report, which make the vCheck core more portable to the other vCheck projects.