If you login to the legacy Operations Manager UI, you can select all the events and acknowledge them in one shot.
Resolve seems to be only through NSPOG or new UI. One way you can get through resolving the events faster is, you can select multiple events by pressing ctrl key. so at a time you can atleast resolve the events in 1 page.
If you want to acknowledge then there is no need to write a script to loop. If you navigate to legacy UI, Events page you have a select all event option. You can just select all event once and then acknowledge