The following enables allowGlobalConfirmation, which will install or update without confirmation prompts
choco feature enable -n=allowGlobalConfirmation
If you want to turn the prompts back on
choco feature disable -n=allowGlobalConfirmation
The following enables allowGlobalConfirmation, which will install or update without confirmation prompts
choco feature enable -n=allowGlobalConfirmation
If you want to turn the prompts back on
choco feature disable -n=allowGlobalConfirmation