Thank you for the response! The updated script is definitely a step in the right direction as its now pulling only the events that I want to report on.
One final ask -
1 - How can I modify the script or implement another parameter to only show events with a status of 'Completed' and not 'Failed' or 'Suspended'
2 - Is is possible to add the 'Department' of the Initiator to the report as well? I've tried doing it on my end but so far the report just returns empty values. Ideally this would be something I could put into a parameter.
eg
param-InitiatorDepartment
Then have some set department values available
Department A
Department B
Department C
ALL
Thank you for all your help thusfar.