it would help everyone to read this if you formatted your code using the “Preformatted Text” button in the editing window. Sometimes it’s inside the gear icon.
Beyond that, this is probably a syntax issue with trying to execute an executable with a parameter but passing it all as powershell variables while making a scheduled task.
To remove some complexity try changing your action line to:
That way the executable that the Scheduled task is triggering is the uninstaller you want to run anyway, and the arguments should end up in the appropriate field when double-checking in the GUI.