Detecting third-party antivirus's status

Please use this script to detect the third party antivirus status which is enabled or disable,up-to-date or not and if there is antivirus in the system or not.

Note: It will check the Windows defender antivirus status .

Run the Script as Custom monitoring

Please refer the link