Uninstalling Spark silently via the Command Prompt

Does anyone know if there’s a way you can uninstall Spark 2.7.2.695 silently with the command prompt?

Silent Uninstall for Spark installs using install4j