I'm using the uninstall command in wmic to uninstall a program. product where name=prg_name call uninstall
When its executed it prompts the user to press 'Y/N'. I would like to automate it so that it takes 'Y' as default always. Could you please give the exact command to do just that?
Add the /nointeractive switch.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With