Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Remove all but latest, silent uninstall minus elevation prompt #5

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ChristopherGLewis
Copy link

Changed the code to remove all but latest version - had to convert WMI version to System.Version for sorting.
Used a select first to show current, select -skip 1 to remove all but current.
added /QN and IGNOREDEPENDENCIES=ALL for silent uninstall other than UAC prompt.

@ChristopherGLewis
Copy link
Author

Much faster and safer now

@kwaazaar
Copy link

kwaazaar commented Mar 2, 2019

I prefer the simplicity of the original script.

@ChristopherGLewis
Copy link
Author

Fixed an issue where the SDK packages were also installed via the WOW6432Node

@bugproof
Copy link

bugproof commented Dec 4, 2019

It would be better to choose the max version to remove with some wildcard/pattern e.g. I want to remove all 2.1 up to 2.1.801

@ghost
Copy link

ghost commented Apr 27, 2020

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants