Please run the script as System User to remove Endpoint Manager Communication Client and Comodo Client Security. Once the components are removed from the Endpoint.
*Execution logs will not appear in the ITSM Portal as ITSM client being uninstalled.
Note: Run as system user