anyone have a powershell script to remove all versions of firefox except latest version and 62.0.2 (couple team members need this version)

need it to push through sccm compliance

0 Comments   [ + ] Show comments

Answers (1)

Posted by: rileyz 2 years ago
Red Belt

Hummmm, this is a bit of rushed idea, hope it will get you moving in the right direction.

First I would make a collection with all computers you want FF uninstall, with a collection exclusion of the FF 62.0.2 you want to keep - pretty sure you can do this. This would be the safest way to do it.

Or you could create a collection based on a query off FF version X.X excluding 62.0.2

You could use uninstall command below.

windows 7 - Uninstalling programs silently via CMD - Super User

You could get away with not doing this as a Compliance Item, as that will add in layer of complexity - With SCCM CI's, you need to ensure the the return codes are correct to ensure compliance = good scripting.

windows 7 - Uninstalling programs silently via CMD - Super User

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ