The new script for searching an EP for Folders > X MB works great (https://forum.itarian.com/forum/script-library/34967-new-script-request-get-size-of-all-folders-on-an-endpoint-larger-than-x-mb). And the script for cleaning up an EP works well (https://scripts.itarian.com/frontend/web/topic/delete-the-system-temp-files-internet-temp-files-and-browser-cache-files-for-all-users).
We already use the latter as an autoremediation script for the low disk space monitors. It would be super useful if we could combine these in to one script and have the output of these two into a CSV or downloadable report to be attached to the monitor alert ticket and/or email.
So if a low disk space monitoring event is triggered, the clean-up portion of the script runs and outputs to a CSV followed by the output from Get Size of all Folders on an EP > X.