Updated DSC Resource Kit available in the PowerShell Gallery
We’ve been focusing on improving the quality of DSC Resource Kit during last few weeks and are glad to announce that all the fixes are now available in the newest versions of modules on the PowerShell Gallery.
We’ve accepted 95 pull requests, fixed 29 issues and updated 20 modules! In addition to that, xWindowsUpdate module got a new resource – xMicrosoftUpdate – allowing to enable or disable Microsoft Update on your target nodes. For detailed list of changes, please scroll to the table at the bottom of this post.
We encourage you to install the newest versions from the PowerShell Gallery and start playing with them!
Where can I find all released DSC modules?
To see a list of all released DSC Resource Kit modules, go to the PowerShell Gallery and display all modules tagged as DSCResourceKit. You can also type a module’s name in the search box on the upper right side of the PowerShell Gallery to find specific module.
Another way is to go directly to a specific module by typing it’s URL:
Of course, you can always use PowerShellGet (available in WMF 5.0) as well:
How can I install DSC resources from the PowerShell Gallery?
We recommend that you use PowerShellGet to install DSC resource modules:
Install-Module –Name <Module_Name>
Install-Module –Name xWebAdministration
If you have previous versions of modules installed, you can update them by calling (from an elevated PowerShell prompt):
If there is an issue you are particularly concerned about, watch the version number in the PowerShell Gallery for updates to that particular resource. You can also file an Issue against the module on GitHub to help get it fixed.
After installing the modules, you can discover all of the resources available to your local system by running:
As with the previous Resource Kits, all the resources are experimental. The “x” prefix in the names stands for experimental – which means these resources are provided AS IS and are not supported through any Microsoft support program or service.
How can I find DSC modules on GitHub?
As we mentioned in April, we have gone to open-source development of DSC resources on GitHub. You can see the most recent state of all resources by going to their GitHub pages at https://github.com/PowerShell/<Module_Name>, e.g. for xCertificate module, go to: https://github.com/PowerShell/xCertificate.
How can I contribute?
We welcome contributors who want to add to the development of DSC resource modules, there’s many ways to do it. You can create new DSC resources or modules, add test automation, improve documentation, fix existing issues or open new ones. Most of the information you need to get started can be found in our contributing guide.
If you are not sure what can you do, but would like to help anyway, please take a look at list of open issues for DscResources repository. You can also check issues opened for specific modules by going to https://github.com/PowerShell/<Module_Name>/issues , e.g. https://github.com/PowerShell/xPSDesiredStateConfiguration/issues.
Your help in developing DSC resources is much appreciated!
What has been recently released?
You can see a detailed summary of all recent changes in the table below.
If you want to see a change log for previous versions, go to the GitHub repository page for a given module (see section “How can I find DSC modules on GitHub?” for details).
If you’re looking into using PowerShell DSC, but have questions, are blocked by issues with current resources, or a lack of resources, let us know in the comments or create an issue on GitHub.