Skip to content

Instantly share code, notes, and snippets.

@forensicmatt
Created April 8, 2020 01:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save forensicmatt/e8f1217ba6e07be6af1567dfdc4cdcf1 to your computer and use it in GitHub Desktop.
Save forensicmatt/e8f1217ba6e07be6af1567dfdc4cdcf1 to your computer and use it in GitHub Desktop.
Uninstall ALL Python Things
Get-WmiObject -Query "SELECT * FROM Win32_Product WHERE Name LIKE '%Python%'" | ForEach-Object { $_.Uninstall() }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment