How To Monitor A Windows Folder For New Files

Creating a New-Object using the System.IO.FilesystemWatcher class, in this SNIP Nick will show you to watch for new files appearing in folders. Windows is an event-driven OS, so using Register-ObjectEvent will enable us to perform an action as a result of a change. Just imagine the power you will have to find out if something has been created, in a particular folder. A nice quick way to develop a file monitoring system.