IntuneWin32Deployer
IntuneWin32Deployer copied to clipboard
Not accepted argument for uninstall (--accept-package-agreements)
--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