Handy Script for uninstalling anything on Windows..!?

Just a note for myself really.  I stole this from the internet so credit to those before me!

This can basically install anything from the Windows client.

The example I've included will uninstall ALL versions of Skype

wmic /interactive:off product where "name LIKE 'Skype%%'" call uninstall

Clearly adjust for your needs...I found this particularly useful when uninstalling Box Tools - I used this in a bat file to remove all versions of Box Tools then install the version I wanted.

wmic /interactive:off product where "name LIKE 'Box Tools%%'" call uninstall

msiexec -i BoxToolsInstaller-AdminInstall-SingleUserMode.msi /qn

For example...

Enjoy...

Comments

Popular posts from this blog

PXE booting, MDT and 802.1x

Intune installation requires a wire...or does it?

Security Policy 1001