Skip to content

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

@jeroenebus

Description

@jeroenebus

--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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions