You can create a report for virtual machine hosts that have problematic health status.

Prerequisites

  • Verify that you are connected to a VMware Aria Operations instance.
  • Verify that you are connected to the vCenter Server system that is monitored by the VMware Aria Operations instance.

Procedure

  1. Get all problematic host resources in VMware Aria Operations that have red or yellow health status.
    $hosts = Get-OMResource | where { $_.ResourceKind -eq 'HostSystem' -and $_.Health -in ('Red', 'Yellow') }
  2. Get the virtual machine hosts that cause the problem.
    $hosts | Get-VmHost