...
How to check if your antivirus scanner is compatible
Download eicar.txt from https://www.eicar.org/download-anti-malware-testfile/
Info title From: https://en.wikipedia.org/wiki/EICAR_test_file The EICAR Anti-Virus Test File or EICAR test file is a computer file that was developed by the European Institute for Computer Antivirus Research (EICAR) and Computer Antivirus Research Organization (CARO), to test the response of computer antivirus (AV) programs. Instead of using real malware, which could cause real damage, this test file allows people to test anti-virus software without having to use a real computer virus.
Execute the command line scanner to scan the file.
Code Block C:\Program Files (x86)\MpCmdRun.exe -Scan -ScanType -File eicar.txt
Note This command is for Windows Defender. Please update the command and options for the virus scanner you are using
Check the errorLevel returned by the previous command
Code Block title For Microsoft Windows echo "returning errorLevel = " %ERRORLEVEL%
Code Block title For Linux echo "returning errorLevel = " $?
If the error level is not 0, then it is compatible
...