Accept terms programmatically #1758
-
I've downloaded and built the project solution so that we can distribute a standard version with our internal desktop management tool. All is well in the world, and our remote management tool now successfully uses winget to centrally report on outdated applications, and allows for the 'one-click' remote updating of applications. One issue I have is accepting the terms on each device. Is it currently possible to do this programmatically? If my memory serves, it's not so uncommon for commandlets to have a switch like I suspect I could remove the sources with terms to accept, and then add them back using the accept agreements switch? My gratitude to anyone that helps me figure out a way past this question :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Okay... I'm such an idiot. Sorry.
|
Beta Was this translation helpful? Give feedback.
Okay... I'm such an idiot. Sorry.
winget upgrade --accept-source-agreements
works....