Folder Monitor and notify
-
I'm trying to come up with a way to monitor a few folders from our file server and to send an email automatically when there are things in them (specifically to get people to act).
This is on Windows Server 2016, so powershell and scheduled tasks may be my only option.
Have you guys seen or done anything like this?
-
What I'm thinking for the notification would be something along these lines:
"There are items in <folder> that need to be cleaned up."
Passive aggressive means of getting people to do their jobs. Maybe a daily notification.
-
@DustinB3403 said in Folder Monitor and notify:
I'm trying to come up with a way to monitor a few folders from our file server and to send an email automatically when there are things in them (specifically to get people to act).
This is on Windows Server 2016, so powershell and scheduled tasks may be my only option.
Have you guys seen or done anything like this?
Ya scheduled task is the only thing worth your time for something like this. Then if they don't, have the script wipe anything older than a day lol.
-
@DustinB3403 said in Folder Monitor and notify:
Passive aggressive means of getting people to do their jobs.
You mean covert aggressive.
-
@Obsolesce said in Folder Monitor and notify:
Then if they don't, have the script wipe anything older than a day lol.
That part wouldn't fly.
But it may work to just do the job for them and if it's not the way that they want it well to bad.
-
@DustinB3403 said in Folder Monitor and notify:
@Obsolesce said in Folder Monitor and notify:
Then if they don't, have the script wipe anything older than a day lol.
That part wouldn't fly.
But it may work to just do the job for them and if it's not the way that they want it well to bad.
Ya I was kidding.
If you know where the files are supposed to be, then ya, they don't need to do anything. Maybe an email saying they were too slow to do their work, so they can now find it at X.
-
What about using File Server Resource Manager?
-
FileSystemWatcher while functional would just spam the shit out of people, so I don't think that would be a good approach.
Funny but not at all good. . .
-
@black3dynamite said in Folder Monitor and notify:
What about using File Server Resource Manager?
Is there some means in there to watch specific folders for additions and then emailing people?
-
That may work, but is not currently installed on the server in question.
-
@DustinB3403 said in Folder Monitor and notify:
@black3dynamite said in Folder Monitor and notify:
What about using File Server Resource Manager?
Is there some means in there to watch specific folders for additions and then emailing people?
I have never used this before but there is a file management tasks.
-
@DustinB3403 said in Folder Monitor and notify:
@black3dynamite said in Folder Monitor and notify:
What about using File Server Resource Manager?
Is there some means in there to watch specific folders for additions and then emailing people?
You can but it is not meant for that, although you can block what type of files you want. It does notify by email when a trigger is set. I have only set it up for Ransomware prevention and quotas only.
-
Wazuh will do this for you. The configuration is different on windows, but the monitoring is the same.
-
-
A simple scheduled task to run a simple PoSh script would be easiest IMO.