Uninstall and reinstall software with a script?

This page summarizes the projects mentioned and recommended in the original post on /r/PowerShell

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Chocolatey

    Chocolatey - the package manager for Windows

  • Super dumb question, have you looked at Chocolatey? You could create a software repository and either push or pull software to endpoints. You might also consider a CM tool like Ansible or Puppet that your endpoints might check for configuration baselines (such as is program installed?).

  • powershell

  • I wrote this registry uninstall path collection script for a site software inventory project (the SCCM DB wasn't providing accurate results). You may find chunks of it useful (the foreach loops that populate $installedProducts) for lifting the needed uninstall path key values into a PowerShell friendly PSCustomObject array. Honestly though, this task could also be a two line batch script.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • ChocolateyGet

    ChocolateyGet provider allows to download packages from Chocolatey.org repository via OneGet

  • The unofficial but de-facto PackageManagement module for Chocolatey, ChocolateyGet, has full support for PowerShell Desired State Configuration, so you can roll a pure-PowerShell configuration management solution to keep certain packages continually up to date.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts