Skip to content

Instantly share code, notes, and snippets.

@aggarwalsushant
Last active November 22, 2021 05:41
Show Gist options
  • Select an option

  • Save aggarwalsushant/f83e78eb830dae19cfc00c9ac86250ef to your computer and use it in GitHub Desktop.

Select an option

Save aggarwalsushant/f83e78eb830dae19cfc00c9ac86250ef to your computer and use it in GitHub Desktop.
Chocolatey software installation automation
# My machine setup script for app installation - Sushant Aggarwal
# Current Version: 0.5
# Start Date: 01 May 2020
# Recent Date: 11 November 2021
## install chocolatey in elevated powershell (administrator level)
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
## install my apps (remove names which are not required)
choco install brave firefox f.lux everything ditto.portable autohotkey ssms vscode vlc pidgin git cmder slack 7zip foxitreader python dashlane postman dotpeek powertoys ccleaner.portable ueli wordweb-free station notion grepwin docker-desktop filezilla -y
## reboot your machine
## install SQL Server 2019 now (requires reboot)
shutdown /r
choco install sql-server-2019 -y
## upgrade some apps
## choco upgrade brave firefox -y
## upgrade all apps
## cup all -y
# My machine setup script for app installation - Sushant Aggarwal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment