This script is used to check if the contents of a file are correct. If not, provide alert and replace the file with a file that contains the correct content.
Note:
Provide the file path at the first line of the script
fileToSend1="C:/remo.txt" #Provide the file path here
Run the script as custom monitoring script follow the below link to run as custom monitoring script: https://forum.mspconsortium.com/forum/products/other-comodo-products/comodo-device-management/wiki-faq-how-to/11486-how-to-use-custom-script-procedure-monitoring