You can get remediation recommendations for a specific resource, such as a problematic virtual machine.

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.
  • Verify that at least one alert is triggered for the virtual machine.

Procedure

  1. Get the virtual machine you want to check for alerts.
    $myVm = Get-VM 'MyVM'
  2. Get the associated VMware Aria Operations resource and its associated active alerts.
    $myVmAlerts = $myVm | Get-OMResource | Get-OMAlertStatus  Active
  3. List the remediation recommendations for the obtained alerts.
    $myVmAlerts | Get-OMRecommendation