So getting a modified date on a file is easy, just use the built in function in an Agent Procedure.
But how do you find out the last modified date of a Folder?
I looked for a WMI property, but can't find anything, can't find anything from a command line, stuck for ideas....
All suggestions welcome...
One option that immediately comes to mind is that you can execute a command shell to get that information by using the following code
for %a in (folder_path) do echo %~ta
You can change the command to echo it to a file and read using Kaseya.
Hope this helps
Another option is the powershell command Get-itemproperty