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.
Pull files from chocolatey.org
Install.ps1 - https://chocolatey.org/install.ps1
chocolatey.0.10.15.nupkg - https://community.chocolatey.org/api/v2/package/chocolatey/
Self Host
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
Last updated
Was this helpful?