Announcements and Chatter
Powershell script to install all programs currently on a PC
Gravatar is a globally recognized avatar based on your email address. Powershell script to install all programs currently on a PC
  Alejandro A Sosa
  All
  Dec 30, 2020 @ 05:20pm

Windows installation fails and restores previous version. It's stuck at version 1809. Searched and tried all suggestions.

Planning a fresh reinstall of Windows.

Is there a way to automatically create Powershell script to reinstall all current programs with Chocolatey?

Thank you very much,

Alex

Alex

Gravatar is a globally recognized avatar based on your email address. re: Powershell script to install all programs currently on a PC
  Rick Strahl
  Alejandro A Sosa
  Dec 31, 2020 @ 01:54pm

There's no such thing.

But you can certainly create a script yourself to install all of the apps that are available on Chocolatey. It won't take long.

  • Do an inventory of what's installed on your old machine
  • Goto Chocolatey.org
  • Search for your programs
  • Create a Powershell script that string choco install commands together

Here's one that I use for my main system install:

choco feature enable -n allowGlobalConfirmation  

# Base
#choco install google-chrome
choco install brave
choco install microsoft-windows-terminal
choco install visualstudiocode

# Apps
choco install firefox
choco install filezilla
choco install markdownmonster
choco install office2019proplus

choco install skype
choco install zoom
choco install dropbox 

choco install paint.net

choco install onenote
choco install iTunes
choco install speccy 
choco install Recuva

choco install snagit
choco install camtasia

# Fast video player
choco install mpc-hc

# System
choco install curl
choco install windirstat
choco install 7zip.install

# CD Burning and ISO imager
choco install imgBurn


choco install cpu-z

# dev
choco install sql-server-express
choco install wsl2

choco install jetbrains-rider
choco install webstorm

# Manual - so can be properly configured
# choco install visualstudio2019enterprise

+++ Rick ---

© 1996-2021