Misc

MigrateLegacyConfigurations

Originally configuration files were saved to $env:ProgramData\chocolatey\config\, but due to a change in the way the latest Chocolatey.org install.ps1 detects prior installs there was a design change where we needed to store these files in a separate location in order to not cause said install to fail. This option will move the files out of the old location to the most up to date location at $env:ProgramData\cChocoEx\config\.

$cChocoExParameters = @{
    PackageConfig               = 'https://contoso.com/chocolatey/packages/global-packages.psd1'
    Loop                        = $true
    LoopDelay                   = 90
    MigrateLegacyConfigurations = $true
}

Start-cChocoEx @cChocoExParameters

Last updated

Was this helpful?