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
  • SonarLint - Clean code begins in your IDE with SonarLint
  • InfluxDB - Access the most powerful time series database as a service
  • 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.

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • 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