This script can be used for exporting specified Windows event log to CSV file. Then send email to specified IT administrators with this attachment.
IT Administrators may want to know whether some specific events occurred on their servers. Sometimes also they need to collect some event log for daily reports.
You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery