chocolatey

0.11.0-preview0002

This is an unofficial module with DSC resource to Install and configure Chocolatey.

Minimum PowerShell version

5.1

This is a prerelease version of chocolatey.
There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

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

Install-Module -Name chocolatey -RequiredVersion 0.11.0-preview0002 -AllowPrerelease

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

Install-PSResource -Name chocolatey -Version 0.11.0-preview0002 -Prerelease

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

Owners

Copyright

(c) 2025 Gael Colas. All rights reserved.

Package Details

Author(s)

  • Gael Colas

Tags

Chocolatey DSC

Functions

Disable-ChocolateyFeature Enable-ChocolateyFeature Get-ChocolateyFeature Test-ChocolateyFeature Compare-ChocolateyPackage Find-ChocolateyPackage Get-ChocolateyPackage Install-ChocolateyPackage Uninstall-ChocolateyPackage Update-ChocolateyPackage Add-ChocolateyPin Get-ChocolateyPin Remove-ChocolateyPin Test-ChocolateyPin Get-ChocolateySetting Set-ChocolateySetting Test-ChocolateySetting Get-ChocolateyCommand Get-ChocolateyVersion Install-ChocolateyLicense Install-ChocolateySoftware Remove-ChocolateyLicense Test-ChocolateyInstall Uninstall-Chocolatey Disable-ChocolateySource Enable-ChocolateySource Get-ChocolateySource Register-ChocolateySource Test-ChocolateySource Unregister-ChocolateySource

DSCResources

ChocolateyPackage ChocolateySoftware ChocolateySource ChocolateyFeature ChocolateySetting ChocolateyPin

Dependencies

This module has no dependencies.

Release Notes

## [0.11.0-preview0002] - 2026-06-13

### Changed

- Added repository Copilot setup and instructions covering cloud-agent bootstrap,
 `build.ps1` validation patterns, Public/Private test coupling, and PowerShell
 coding conventions.
- Clarified in Copilot instructions that the module is Windows-only while still
 requiring compatibility with Windows PowerShell 5.1 and PowerShell 7.
- Split Copilot guidance into targeted instruction files and added a local
 `validate-changes` skill plus class-export/type-accelerator guidance for
 `source\suffix.ps1`.
- Updated the bootstrap scripts and dependency configuration to the newer
 Sampler pattern with PSResourceGet support while keeping repo-specific
 compatibility.
- Changed the bootstrap defaults to prefer ModuleFast on PowerShell 7.2+
 while retaining PSResourceGet as the fallback on older PowerShell hosts.
- Updated the Copilot setup workflow to resolve the built module artifact
 dynamically and run on Windows so the built module can be imported during
 environment validation.
- Hardened Chocolatey delimited output parsing so licensed-extension
 compatibility output is surfaced as warnings or errors and is no longer
 treated as installed package data.
- Added regression coverage for the `ChocolateyPackage` DSC/class `Get()`
 path so licensed-extension compatibility warnings still resolve to an
 absent package state instead of breaking package discovery.
- Added `Install-ChocolateyLicense` to install or overwrite a Chocolatey
 license file from a source path or XML content.
- Added `Remove-ChocolateyLicense` to remove the Chocolatey license file and
 revert to unlicensed Chocolatey behavior.
- Aligned wiki generation with the explicit Sampler docs workflow so content
 from `source\WikiSource` is prepared and published to the GitHub wiki.
- Added a `Home.md` wiki landing page under `source\WikiSource`.
- Added a `LicensedChocolatey.md` wiki page covering license install, removal,
 and the licensed-extension compatibility warning.

### Fixed

- Fixed `Get-ChocolateyInstallPath` to honor a valid non-standard
 `ChocolateyInstall` path before falling back to the default install location.
- Fixing issue #105 where Uninstall-ChocolateySoftware fails.
- Making version parameter of `Update-ChocolateyPackage` not mandatory.
- Fixing issue #107 to allow for username field to be set on ChocolateySource

FileList

Version History

Version Downloads Last updated
0.11.0-previ... 8 6/16/2026
0.11.0-previ... 7 6/16/2026
0.11.0-previ... 5 6/16/2026
0.11.0-previ... 9 6/14/2026
0.11.0-previ... (current version) 6 6/13/2026
0.11.0-previ... 6 6/12/2026
0.10.5 3,343 3/31/2026
0.10.5-previ... 4 3/31/2026
0.10.5-previ... 22 1/9/2026
0.10.4 6,821 12/5/2025
0.10.4-previ... 5 12/5/2025
0.10.3 23,062 10/23/2025
0.10.3-previ... 3 10/23/2025
0.10.3-previ... 4 10/23/2025
0.10.2 134 10/23/2025
0.10.2-previ... 4 10/23/2025
0.10.2-previ... 4 10/23/2025
0.10.1 76 10/23/2025
0.10.1-previ... 3 10/23/2025
0.10.0 59 10/22/2025
0.10.0-previ... 3 10/22/2025
0.9.2-previe... 3 10/22/2025
0.9.1 248 10/22/2025
0.9.1-previe... 5 10/22/2025
0.9.0 1,184 10/14/2025
0.2.0-previe... 8 10/6/2025
0.2.0-previe... 6 9/18/2025
0.2.0-previe... 4 9/18/2025
0.2.0-previe... 8 9/17/2025
0.2.0-previe... 323 4/19/2023
0.2.0-previe... 11 4/6/2023
0.2.0-previe... 17 4/2/2023
0.2.0-previe... 10 3/31/2023
0.2.0-previe... 14 3/24/2023
0.2.0-previe... 9 3/24/2023
0.2.0-previe... 16 3/19/2023
0.2.0-previe... 665 8/18/2021
0.2.0-previe... 451 8/18/2021
0.0.79 466,017 3/3/2020
0.0.77 11,213 11/6/2019
0.0.76 1,606 10/10/2019
0.0.74 536 10/8/2019
0.0.71 45,369 6/5/2019
0.0.69 854 5/22/2019
0.0.68 452 5/22/2019
0.0.65 760 5/9/2019
0.0.58 3,983 11/22/2018
0.0.55 543 11/17/2018
0.0.50 4,846 3/27/2018
0.0.48 1,405 2/6/2018
0.0.46 13,329 11/30/2017
0.0.43 462 11/30/2017
0.0.39 476 11/28/2017
0.0.35 469 11/27/2017
0.0.31 850 11/21/2017
0.0.1 475 11/21/2017
Show more