Credits: Code made by QXJ6YW4gRWxjaGlkYW5h with reference from Adam Bertram
On execution of the script it monitors file activity for the folder path selected by the user
To execute the script the following steps need to be followed
1. Execute Powershell
2. Select the path which needs to be monitored for file activity
3. Do not clost the Powershell window
The Powershell window will continue to monitor the file activity till the Powershell window is open
The Powershell code monitors the following file activity:
- File Creation
- File Deletion
- File Rename
- File Disposed
- File Changed
- File Error