Skip to content

Instantly share code, notes, and snippets.

@manualbashing
Last active June 7, 2019 10:47
Show Gist options
  • Save manualbashing/8077867b9a079ad3370b to your computer and use it in GitHub Desktop.
Save manualbashing/8077867b9a079ad3370b to your computer and use it in GitHub Desktop.
Use WMI to uninstall programs and features on windows
gwmi Win32_Product -Filter 'Name like "%vCenter%"' | % { $_.uninstall() }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment