After applying patches to esx 3.5 in our lab, the hardware sensors are stuck.
I need to reset them, is there a way to do that with powershell?
Actually you can try ResetSystemHealthInfo method of the HostHealthStatusSystem manager. I think this is the method you're looking for.
$hostView = Get-VMHost myHost | Get-View $healthStatusSystem = Get-View $hostView.ConfigManager.HealthStatusSystem $healthStatusSystem.ResetSystemHealthInfo()
/Yasen
you can reset sensors from the VI Client
If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!
I know you can do that with the vi client. But i wan't to do it with powershell.
CLI does not provide support for hardware sensor actions
If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!
Actually you can try ResetSystemHealthInfo method of the HostHealthStatusSystem manager. I think this is the method you're looking for.
$hostView = Get-VMHost myHost | Get-View $healthStatusSystem = Get-View $hostView.ConfigManager.HealthStatusSystem $healthStatusSystem.ResetSystemHealthInfo()
/Yasen
HI Yasen,
That was exactly what i was looking for. Thanks!