You can retrieve all active alerts for a specific datastore and assign the alert ownership to your user profile.

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 active alerts for the datastore.
    $alerts = Get-Datastore 'shared' | Get-OMResource | Get-OMAlertStatus Active | where { ($_.AssignedUser -eq $null) -and ($_.ControlState -eq 'Open') }
  2. Assign the obtained alerts to the user profile you are currently using.
    $alerts | Set-OMAlertTakeOwnership