Send an email whenever file is deleted from shared folder in windows 7

Posted by azmuhak on Super User See other posts from Super User or by azmuhak
Published on 2014-06-09T02:37:59Z Indexed on 2014/06/09 3:30 UTC
Read the original article Hit count: 377

Filed under:
|
|

I am running a software on several computers at my workplace and the software can run different audio and video files stored on a shared folder in a central computer. The software runs on windows 7 and every person in my company can add or remove files from the shared folder, but this privilege puts the data at risk. I was thinking of creating an email alert to my self whenever a file is deleted. I have written a windows powershell script for sending me emails from smtp server but how can I hook it up to the event of file or folder deletion in a specific shared folder?

© Super User or respective owner

Related posts about windows-7

Related posts about powershell