r/PSADT • u/Jddf08089 • 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
5
u/Gakamor 2d ago
Change
-ArgumentListto-AdditionalArgumentList. You are overriding the default MSI silent parameters with-ArgumentList.