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
Answers (1)
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