Start-cChocoEx

Getting Started

After you have installed the cChocoEx Module. The most basic and frequently used command is Start-cChocoEx. Without any extra parameters it this will ensure Chocolatey is installed in its default path ($env:ProgramData\chocolatey) and use the latest install.ps1 from chocolatey.org (https://chocolatey.org/install.ps1) for install. It will also ingest and process any cChocoEx configuration files placed in $env:ProgramData\cChocoEx\config\.

Start-cChocoEx

Minimal Self Hosted Source Files

To use this module at any type of scale in your organization you will want to self host the install script and binary chocolatey NuGet package to avoid rate limiting.

  1. Pull files from chocolatey.org

  2. Self Host

  3. Profit?

$cChocoExParamters = @{
    ChocoDownloadUrl         = 'https://github.com/jyonke/chocolatey/raw/master/Install/chocolatey.0.10.15.nupkg'
    ChocoInstallScriptUrl    = 'https://raw.githubusercontent.com/jyonke/chocolatey/master/Install/install.ps1'
}

Start-cChocoEx @cChocoExParamters

The above example is hosting everything on GitHub.com. They have their own rate limiting, it is meant as an example.

Last updated

Was this helpful?