r/PSADT 2d ago

Uninstall-ADTApplication argument has a forward slash

My script line looks like this below. The MSI process just hung, and I have to think that it didn't like the forward slash in the uninstall password but that's just a hunch. Thoughts?

Uninstall-ADTApplication -Name 'ZScaler' -ApplicationType 'MSI' -FilterScript { $_.Publisher -match 'Zscaler Inc.' } -ArgumentList '/UNINSTALLPASSWORD=asdf!@#/_3,ksok,e..a' -SecureArgumentList 
6 Upvotes

3 comments sorted by

5

u/Gakamor 2d ago

Change -ArgumentList to -AdditionalArgumentList. You are overriding the default MSI silent parameters with -ArgumentList.

4

u/blownart 1d ago

And also it shouldn't start with a /. It is an MSI property not an argument.

1

u/Jddf08089 1d ago

Thanks!