Events with PowerShell Automation
There was a recent thread here working with FileSystemWatcher and moving files. Event driven coding is a surprisingly little used feature that is actually really powerful tool to use in automation, so I was inspired to post a little bit about it. It's been written about over and over again, but I still commonly see people doing scheduled tasks or just infinite loops to deal with things that could be triggered, so I figured I'd take a stab at it in an overly wordy blog post:
Posted Oct 2, 2022, 7:14 AM UTC
Thanks. Looks like a good read. Def gonna check this out.