New-JobTrigger assistance

Hey y’all. I am trying to implement a PS Job where I am looking for the creation of a file in a folder reported to the EventLog to trigger a script. I know I can do this using Task Scheduler, but I want to gain the functionality of PS jobs. I have Googled, searched here, and combed through the MS documentation. Does anyone have an idea or can give me a lead on tracking down this solution?

Thanks in advance,



*Edit: Clarified the event would be from the EventLog

have you heard about file system watcher, if not, below blog post will be very helpful here.

@kvprasoon, The article you referenced was exactly what I needed. I implemented it and it works perfectly. Thank you.