IntuneWin32Deployer icon indicating copy to clipboard operation
IntuneWin32Deployer copied to clipboard

Not accepted argument for uninstall (--accept-package-agreements)

Open jeroenebus opened this issue 3 years ago • 0 comments

--accept-package-agreements is not an accepted argument for the winget uninstall command. Just --accept-source-agreements is enough to start the uninstall of the package.

https://learn.microsoft.com/en-us/windows/package-manager/winget/uninstall

--accept-package-agreements is only an installation argument

https://learn.microsoft.com/en-us/windows/package-manager/winget/install

https://github.com/FlorianSLZ/Intune-Win32-Deployer/blob/85d6f82f44419ab9d8077bcc30dfe02fd06a4496/source/ressources/template/winget/uninstall.ps1#L13

jeroenebus avatar Nov 29 '22 14:11 jeroenebus