Hello PSADT Community,
I have a problem deploying the LAPS UI Tool next to the already installed Agent called CSE. Both Applications are installed with the same MSI.
With the following command, we Install the Agent to our clients.
Execute-MSI -Action 'Install' -Path 'LAPS.x64.msi' -Parameters 'addlocal=CSE /QN'
With the next command, I can install the LAPS UI Tool to one of our admin clients.
Execute-MSI -Action 'Install' -Path 'LAPS.x64.msi' -Parameters 'ADDLOCAL=Management,Management.UI,Management.PS'
To remove the LAPS UI Tools I think the command should do the work. But the command removes everything related to LAPS.
Remove-MSIApplications -Name 'Local Administrator Password Solution' -Parameters 'REMOVE=Management,Management.UI,Management.PS /QN'
Doing this with msiexec works fine.
msiexec /i "LAPS.x64.msi" REMOVE=Management,Management.UI,Management.PS /q
Is there a possibility to execute the raw msiexec command with Execute-MSI? Or are there other options to consider?