Information : This script is for Hardware monitoring which generates the alert if any changes at endpoint
Note :You need to run the script as usual and ignore the error for first time, because to get the Hardware details which need to compare with changes and gives alert .
This Script should run as Custom monitoring for better output
Comments