VMware Cloud Community
drivera01
Enthusiast
Enthusiast

query vcenter for possible power issues on hosts/vcenter

is there any way to query vcenter to find possible degradation or power failures via powercli?

Reply
0 Kudos
1 Reply
LucD
Leadership
Leadership

You can check for HW status events

Get-VIEvent -MaxSamples ([int]::MaxValue) |

Where-Object {($_ -is [VMware.Vim.EventEx] -and $_.FullFormat -match "^com.vmware.vc.cim.CIMGroupHealthStateChanged")}


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos