Resolve all open alerts, by Alert Name

get-alert | where {$_.Name -eq "alert_name" -AND $_.resolutionState -ne 255} | resolve-alert

main menu