Execute-ProcessAsUser run exe in dirfiles with args

Hello All,

As part of app install i am trying to uninstall a software that is installed by the user and will only be uninstall with user rights. we need to run the file with parameters that is in dirfiles or i can copy to local machine before install.

How can i do that.
Thanks in advance

If you know the user account why not use Execute-ProcessAsUser ?

You might have to copy your EXE locally but regular users would need to have at least Read-Only permsisions to it.