Silent Upgrade/Uninstall/Install Traps using PowerShell over WinRM


Changes to the LIVEcommunity experience are coming soon... Here's what you need to know.

L0 Member

Silent Upgrade/Uninstall/Install Traps using PowerShell over WinRM

Could some one share how to silently upgrade/uninstall/install Traps client
using PowerShell?


I tested that

msiexec /x c:\Traps_x64_4.2.3.41131.msi /quiet /l*v c:\traps_uninstall_log.txt UNINSTALL_PASSWORD=UninstalNow!

does work in cmd, but cant get it to work under PowerShell?

L2 Linker

Hi @MihaIT ,


Have you tested the following command:


For Install:

Start-Process msiexec.exe -Wait -ArgumentList '"c:\Traps_x64_4.2.3.41131.msi"', '/i', '/q', '/l*v c:\traps_install_log.txt'

For uninstall:

Start-Process msiexec.exe -Wait -ArgumentList '"c:\Traps_x64_4.2.3.41131.msi"', '/x', '/q', '/l*v c:\traps_uninstall_log.txt', 'UNINSTALL_PASSWORD=UninstalNow!'



L0 Member

Sorry for late response. I was on vacation, so I could try it.


No unfortunately that command for uninstall doesn't work.
It just waits for ever. (under WinRM)


If I run it locally it opens popup that msiexec didn't get the parameters.

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!