Does anyone know of a way to export all system and configuration settings from a host and load it into an array to compare to a different host? Somewhat like a host profile does.
For instance, I have a health check script that checks for specific static values...like NTP servers, Syslog, Round Robin, etc.... Like the vCheck all these values are manually defined.
There have been instances in our environment where settings, like advanced configuration settings, are accidentally modified, and it was was requested to update the script to check the entire host configuration.
So I was wondering if there is a way to dump all the settings from Get-VMHost into an array and possibly accomplish this with a compare.