In my normal cmd line uninstalls that I use in a .bat, I format it like:
MsiExec.exe /quiet /norestart /X {9B08ED70-BDDE-4B3A-A9F8-CC897012D528} UNINSTALL_PASSWORD=SolarWinds123 /l*vx c:\temp\fireeye.txt
In the example from the Help file to uninstall using a product code:
Execute-MSI -Action ‘Uninstall’ -Path ‘{26923b43-4d38-484f-9b9e-de460746276c}’
I can’t seem to find whether it’s possible or even allowed to use the UNINSTALL_PASSWORD feature. Is this possible? Am I trying to use the wrong function?
How does Execute-MSI -Action ‘Uninstall’ differ from Remove-MSIApplication?