Resolve all open alerts generated by specific Agent

get-alert | where {$_.netbiosComputerName -eq "netbios_name" -AND $_.resolutionState -ne 255} | Resolve-Alert

To use Criteria Expression for better performance

get-alert -criteria 'NetbiosComputerName = ''netbiosComputerName''' | resolve-alert

main menu