Create WriteToEventLog.ps1