Gainz: Chocolatey Sync Module

A module that that will install chocolatey, configure sources, and
install/update/remove packages based on a configuration file.

The overall goal is to be able to pull down a config file from somewhere like
OneDrive, Github, or Gitlab and then install chocolatey and common apps

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Gz-ChocolateySync

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name Gz-ChocolateySync

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More



(c) 2018 Nerdy Mishka, Michael Herndon. All rights reserved.

Package Details


  • Nerdy Mishka Michael Herndon


Chocolatey Gainz Gainz-ChocolateySync


Expand-ChocolateyArchive Get-ChocolateyInstallLocation Get-ChocolateyDecryptKey Get-ChocolateyTempDirectory Get-ChocolateyTempInstallDirectory Get-WebRequestContentAsString Install-Chocolatey Install-BoxStarter Read-ChocolateyUpdateConfig Save-WebRequestContentAsFile Set-ChocolateyDecryptKey Sync-Chocolatey Update-ChocolateyPackages Update-ChocolateySources


This module has no dependencies.

Release Notes

0.1.5 - Bug fixes
- Read-ChocolateyArgument was not tracking spaces in powershell. Replaced the foreach with
 a for loop and used a string with index access to convert it to a char. This fixed the
 parsing issue.
0.1.4 - Bug fixes
- installing sources from a string value was broken using a variable that did not exist "$value"
- installing packages from a item that is a string value in an array of packages would break
 as it would only handle the name and if you add arguments, you should really use splatting
 when dynamically invoking a command line command.
 An internal function, Read-ChocolateyArgument was created to parse the string items into
 splat arguments. if a -y or --yes argument is not found, it is automatically added as the
 point of this module is automation.
0.1.2 - Bug fixes
- Fix package install order loop
0.1.1 - Bug fixes
- Fix Cmdlet naming issues for Get/Set decrypt key.
- Fix package install order to match json file.  

0.1.0 - Early Release

Hooks for Box starter and complex configuration commands have not been fully


Version History

Version Downloads Last updated
0.1.5 (current version) 608 5/5/2019
0.1.4 14 5/4/2019
0.1.3 14 5/4/2019
0.1.2 87 3/14/2019