Looking to compare settings of 2 hosts to ensure build quality. Currently able to pull advanced settings of each host within a cluster, however I am looking to do a compare-object that also provides vmk, dvswitch, vmotion settings in addition to configurations.
$esxName = '*'
$esx = Get-VMHost -Name $esxName
Get-AdvancedSetting -Entity $esx | Select Name,Value
$esxName = '*'
$esx = Get-VMHost -Name $esxName
Get-AdvancedSetting -Entity $esx | Select Name,Value