Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Uninstall by name

Here is the code I use to uninstall applications based on their name instead of MSI product code. This is nice because it makes it version independent for most applications. The %% is a wildcard that behaves the same as * in most situations. If you don't need it in the middle of the name you have to put it at the end for this command to work.

wmic product where "name like 'adobe flash player%%activex'" call uninstall /nointeractive
wmic product where "name like 'adobe reader%%'" call uninstall /nointeractive
4

Comments

1 comment
Date Votes
  • Thanks for letting us know about this Colby.

    0