How to remove an active SDL license and to uninstall a Trados Studio 2017 version silently?

Since last year we've been managing our SDL products on all our company laptops with Microsoft Intune. Currently we're attempting to move our users automatically from Trados Studio 2017 to the 2019 version. In order to achieve this, I'd like to know how to remove an active SDL license and then silently uninstall the oldest version of the application using Powershell commands. I've read several times the installation guide for Trados Studio 2019 but unfortunately a silent uninstall section isn't listed. Is this actually possible? 

Thanks in advance for your contributions!