

The following code, when running, monitors H:\Temp folder and writes an entry when any types of changes are detected. But if not, here is a PowerShell way that you can approach as well. If you are a programmer, you probably can craft up a little app using this class fairly easily.

NET framework has a class called FileSystemWatcher in System.IO NameSpace that has been around for years. So, how can we approach this in a way that is easy and without buying any software? The problem is, Windows doesn’t have this monitoring feature available out of the box. You can set it up so that when anything added or deleted in the folder you can be notified by an email or an entry can be added in a log file so you can have a history of what’s happened.

Monitoring a folder for any changes could be very useful.
