Using Start-ADTprocess to uninstall apps. And the execution handle goes onto the next command within 2 seconds and doesnt wait for the uninstallation process to get fully over.
Surprisingly , the exit code of the uninstall command shows as 0 eventho the actual uninstallation is still going on !!! so the script gets fully over with success whereas the Add/remove entry is still there bec the uninstallation is still going on in the background !!!
Observed this for few apps now already. the ones whose uninstall is done using setup exe (not the MSI ones)