Need to automate software installation and uninstallation process in Local and Remote Machine using Uipath

Hi Everyone
I tried to automate software installation and uninstallation process using Uipath. I have used
Invoke power shell activity for uninstallation of software.
Please let me know if it is the correct way
Also share if anyone is have any solution

I vote for powershell @ravikumarch