Currently creating an automation with our RMM. Because of our RMM, I need to write the exit code to a text file to handle the exit codes for reporting/further automation. I have a batch command running and writing the %ERRORLEVEL% to a txt file.
The above results return 0 even if vulnerabilities are found. If there is a cleaner way of getting the error code, please let me know. I did not find examples.
Currently creating an automation with our RMM. Because of our RMM, I need to write the exit code to a text file to handle the exit codes for reporting/further automation. I have a batch command running and writing the %ERRORLEVEL% to a txt file.
The above results return 0 even if vulnerabilities are found. If there is a cleaner way of getting the error code, please let me know. I did not find examples.