With such a command it is possible to query all warnings and alarms of the Data Center from a vCenter.
(Get-DataCenter).ExtensionData.TriggeredAlarmState
However, this does not include, for example, the alarm that the vcenter root password has expired.
How to query the warnings and alarms of the vCenter level?
Screen from vCenter Level
You have to start from the hidden Datacenters folder.
(Get-Folder -Name Datacenters).ExtensionData.TriggeredAlarmState
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
You have to start from the hidden Datacenters folder.
(Get-Folder -Name Datacenters).ExtensionData.TriggeredAlarmState
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thank you, that was helpful.