1) Get name of the application to be uninstalled:

2) Execute command:

 

If you get a result like

instance of __PARAMETERS
{
ReturnValue = 0;
};

it worked.

Note that this command might not close processes before uninstalling, but files should be removed at least after a reboot of the remote system.

 

Reference

  [email protected]