Script to find and delete a file

There doesn’t seem to be a script where you can simply scan a pc for a file in given paths and delete a file if found.

Hi @Jrsysadmin24

I will forward the details to the concerned team and request them to get back to you

I was able to modify the “remove files from folder” procedure for one file path where it is in a specific location. But I also need another procedure to scan the enter “C:\users\every user directory”; what do I put in the code to do that?

Hi @Jrsysadmin24 ,

Thanks for your request, we have asked our script developer to analyze and provide feedback.
Please note this ticket ID - CS-52170 as a reference.

Kind Regards,
PremJK

Hi @Jrsysadmin24 ,

Please try this script prepared by our script developer and let us know if you need any modifications
https://scripts.xcitium.com/frontend/web/topic/script-to-find-and-delete-given-files-from-cusers

Kind Regards,
PremJK