How to make wmic uninstall command accept Y (yes) as default input prompt

I use the uninstall command in wmic to uninstall a program. where name = prg_name removes the call

When it is executed, it prompts the user to press "Y / N". I would like to automate it so that it always accepts "Y". Could you give the exact command to do just that?

+7
source share
1 answer

Add the / nointeractive switch.

+9
source

All Articles