Note: This blog post is intended to people who participate in the development of DSC Resources on GitHub.
We are pleased to announce that we’ve made developments builds available for all DSC Resource modules on GitHub. From now on, every time Pull Request gets merged, we produce a package with latest changes and upload it on a module-specific NuGet feed. The process is fully automated which means that early adopters/contributors can install and try newest versions of modules right after they are updated!
It’s worth pointing out that PowerShell Gallery is still the “Go To” place for all released versions of DSC Resource Modules. NuGet feeds mentioned above simply serve as a convenient location where you can obtain development builds (which are still under development) for those of you who would like to give them a spin.
NuGet feed urls for all modules follow this pattern:
for example, address of xExchange module NuGet feed is:
To use it, first register new PSRepository using PowerShellGet:
Register-PSRepository -Name -SourceLocation https://ci.appveyor.com/nuget/
Register-PSRepository -Name xExchangeDev -SourceLocation https://ci.appveyor.com/nuget/xexchange
Use Find-Module to list available versions of the module:
Find-Module -Repository xExchangeDev
To install latest development version, use the following command:
Install-Module -Name -Repository
Install-Module -Name xExchange -Repository xExchangeDev
You can also install specific version of the module by adding –RequiredVersion parameter:
Install-Module -Name -Repository -RequiredVersion
Install-Module -Name xExchange -Repository xExchangeDev -RequiredVersion 126.96.36.199
The above process is also described on DscResources repository page.