Skip to content

Instantly share code, notes, and snippets.

@bahreex
Last active September 9, 2021 23:01
Show Gist options
  • Save bahreex/db8eac889d755a5233763733c401eab0 to your computer and use it in GitHub Desktop.
Save bahreex/db8eac889d755a5233763733c401eab0 to your computer and use it in GitHub Desktop.
Chocolatey Package Config: Primary Dev Box
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="7zip" version="18.5.0.20180730" />
<package id="7zip.commandline" version="16.02.0.20170209" />
<package id="7zip.install" version="18.5.0.20180730" />
<package id="7zip.portable" version="18.5" />
<package id="AdobeAIR" version="28.0.0.127" />
<package id="adobereader" version="2018.011.20063" />
<package id="adobeshockwaveplayer" version="12.2.8.198" />
<package id="ARMClient" version="1.2.0" />
<package id="atom" version="1.23.2" />
<package id="audacity" version="2.2.2" />
<package id="audacity-ffmpeg" version="2.2.2" />
<package id="audacity-lame" version="3.99.3.20171217" />
<package id="autohotkey.portable" version="1.1.30.00" />
<package id="avidemux" version="2.7.1" />
<package id="azure-cli" version="2.0.46" />
<package id="blender" version="2.79.2" />
<package id="Boxstarter" version="2.11.0" />
<package id="Boxstarter.Bootstrapper" version="2.11.0" />
<package id="Boxstarter.Chocolatey" version="2.11.0" />
<package id="Boxstarter.Common" version="2.11.0" />
<package id="Boxstarter.HyperV" version="2.11.0" />
<package id="Boxstarter.WinConfig" version="2.11.0" />
<package id="captura" version="7.0.1" />
<package id="chocolatey" version="0.10.11" />
<package id="chocolatey-core.extension" version="1.3.3" />
<package id="chocolatey-misc-helpers.extension" version="0.0.2" />
<package id="chocolatey-windowsupdate.extension" version="1.0.2" />
<package id="chocolateygui" version="0.15.0" />
<package id="cmdermini" version="1.3.5" />
<package id="comicrack" version="0.9.178.20161008" />
<package id="cpu-z" version="1.86" />
<package id="cpu-z.install" version="1.86.0.20180921" />
<package id="curl" version="7.61.1" />
<package id="docker-for-windows" version="18.06.1.19507" />
<package id="DotNet4.5" version="4.5.20120822" />
<package id="DotNet4.5.2" version="4.5.2.20140902" />
<package id="DotNet4.6.1" version="4.6.01055.20170308" />
<package id="dotnet4.7" version="4.7.2053.0" />
<package id="dotnetcore" version="2.1.5" />
<package id="dotnetcore-runtime" version="2.1.5" />
<package id="dotnetcore-runtime.install" version="2.1.5" />
<package id="dotnetcore-sdk" version="2.1.403" />
<package id="dotPeek" version="2018.2.3" />
<package id="dropbox" version="58.4.92" />
<package id="fiddler" version="5.0.20182.28034" />
<package id="fiddler4" version="4.6.20173.38786" />
<package id="filezilla" version="3.37.4" />
<package id="Firefox" version="62.0.3" />
<package id="flashplayerplugin" version="31.0.0.108" />
<package id="foxitreader" version="9.0.1.1052" />
<package id="gcloudsdk" version="0.0.0.20171229" />
<package id="git" version="2.19.1" />
<package id="git.install" version="2.19.1" />
<package id="golang" version="1.11.0" />
<package id="GoogleChrome" version="69.0.3497.10000" />
<package id="googledrive" version="2.34.5075.1619" />
<package id="gpu-z" version="2.11.0" />
<package id="gsmartcontrol" version="1.1.3" />
<package id="hwinfo" version="5.88" />
<package id="hwinfo.install" version="5.88" />
<package id="intel-dsa" version="3.5.0.3" />
<package id="javaruntime" version="8.0.181" />
<package id="jre8" version="8.0.181" />
<package id="KB2533623" version="1.0.2" />
<package id="KB2919355" version="1.0.20160915" />
<package id="KB2919442" version="1.0.20160915" />
<package id="KB2999226" version="1.0.20170509" />
<package id="KB3033929" version="1.0.3" />
<package id="KB3035131" version="1.0.1" />
<package id="KB4019990" version="1.0.0" />
<package id="kindle" version="1.20" />
<package id="kodi" version="17.6.0.20171213" />
<package id="kubernetes-cli" version="1.12.1" />
<package id="lessmsi" version="1.6.1" />
<package id="linkshellextension" version="3.8.6.80" />
<package id="minikube" version="0.28.2" />
<package id="msiafterburner" version="4.5.0.20180917" />
<package id="nimbletext" version="2.8.1.38449" />
<package id="nirlauncher" version="1.20.55" />
<package id="nodejs" version="10.11.0" />
<package id="nodejs.install" version="10.11.0" />
<package id="notepadplusplus" version="7.5.8" />
<package id="notepadplusplus.install" version="7.5.8" />
<package id="Opera" version="56.0.3051.36" />
<package id="Pester" version="3.4.6" />
<package id="poshgit" version="0.7.3.1" />
<package id="putty" version="0.70.0.20171219" />
<package id="putty.portable" version="0.70.0.20171219" />
<package id="python3" version="3.7.0" />
<package id="resharper-platform" version="182.0.20180912.70144" />
<package id="rufus" version="3.3" />
<package id="Shotcut" version="18.09.16" />
<package id="shotcut.install" version="18.09.16" />
<package id="Silverlight" version="5.1.50907.0" />
<package id="skype" version="8.31.0.92" />
<package id="slack" version="3.3.1" />
<package id="steam" version="3.0.1.0" />
<package id="sysinternals" version="2018.8.8" />
<package id="utorrent" version="3.5.0.43916" />
<package id="vcredist140" version="14.12.25810" />
<package id="vcredist2005" version="8.1.0.20160118" />
<package id="vcredist2008" version="9.0.30729.6161" />
<package id="vcredist2010" version="10.0.40219.2" />
<package id="vcredist2015" version="14.0.24215.20170201" />
<package id="visualstudiocode" version="1.17.1.20171012" />
<package id="vivaldi" version="1.12.955.36" />
<package id="vlc" version="3.0.4" />
<package id="webpi" version="5.0" />
<package id="webpicmd" version="7.1.50430.20141001" />
<package id="wget" version="1.19.1" />
<package id="WinPcap" version="4.1.3.20161116" />
<package id="winrar" version="5.60" />
<package id="winscp" version="5.13.4" />
<package id="winscp.install" version="5.13.4" />
</packages>
@bahreex
Copy link
Author

bahreex commented Oct 7, 2018

Simple Powershell Script for automatically Installing Chocolatey, and all the Chocolatey packages present on the previous reference Dev Box to the current new Dev Box.

#Set Execution Policy for PS
Set-ExecutionPolicy Bypass -Scope Process -Force; 

#Install Chocolatey
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'));

#Refresh PS Console
refreshenv;

#Extract the Chocolatey Package configuration file from a public gist in my Github account to the current working directory in my local Dev Box filesystem
$url = "https://gist.githubusercontent.com/bahreex/db8eac889d755a5233763733c401eab0/raw/51edfdbafddd0913f45b3b115e1ffe6b6a5a4c3e/Choco-Config-Dev-Box.config";
$filename = "Choco-Config-Dev-Box.config";
$webclient = New-Object System.Net.WebClient;
$filepath = "$pwd\$filename";
$webclient.DownloadFile($url,$filepath);

echo "Saved the file locally: $filepath";

#Install all the packages
cinst $filepath -yv;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment