What's new in DSC Resource Kit
It’s been another busy month and we’ve seen lots of enthusiasm from many of you to help improve the DSC Resource Kit. In only the last couple of weeks we’ve merged 90 pull requests, 8 new resources have been added to 4 modules (xDefender, xExchange, xWebAdministration, xWindowsUpdate) and another 15 resources across 13 modules were updated! That brings the total number of resources in DSC Resource Kit to 220!
We are also very happy to see incoming feedback in the form of new GitHub issues and want you to know that we are looking at all of them – since our last update, 18 issues were addressed and closed.
The recently updated versions of these DSC resource modules are already available on the PowerShell Gallery – feel free to install and start using them! For a more detailed list of changes, please scroll to the table at the bottom of this post.
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 a 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
You may choose to review the updated modules
before installing them, in which case you should use Save-Module:
Save-Module –Name xWebAdministration –Path c:\Temp
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’ve open sourced development of our 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?
You are more than welcome to contribute to the development of DSC resource modules and 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 <a href="https://github.com/PowerShell//issues”>https://github.com/PowerShell/<Module_Name>/issues, e.g. https://github.com/PowerShell/xPSDesiredStateConfiguration/issues.
Your help in developing DSC 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.