LmhansenCheck the "accepted solution" here:
It's a VBScript, and it will write all matching file names into a log file. The only missing part here is the Kaseya part:
Upload the VBscript to the computer
Execute the script.
Load the contents of the logfile
Check if it contains ".torrent"