Monitoring a specific directory for files using a wild card with K1000
Our antivirus likes to dump huge crash files into a specific directory, and I'd like to monitor that with a script if possible. I haven't been able to figure out how to check for any files with a .DMP extension. Can anyone help? Thanks!
0 Comments
[ + ] Show comments
Answers (3)
Answer Summary:
Please log in to answer
Posted by:
SMal.tmcc
11 years ago
Posted by:
jknox
11 years ago
You could use a custom inventory rule something like this assuming C:\Program Files\Dell\KACE\x64\ for the .dmp file location:
ShellCommandTextReturn(cmd /c dir "C:\Program Files\Dell\KACE\x64\*.dmp")
It would display under Software>Custom Inventory Fields on the computer's inventory page.
Comments:
-
Use this to create a rule, then create a smart label for that item and use it in the script to limit deployment to selected labels. - SMal.tmcc 11 years ago