{"id":11201,"date":"2015-09-15T15:55:00","date_gmt":"2015-09-15T15:55:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/powershell\/2015\/09\/15\/updated-dsc-resource-kit-available-in-the-powershell-gallery\/"},"modified":"2019-02-18T12:38:29","modified_gmt":"2019-02-18T19:38:29","slug":"updated-dsc-resource-kit-available-in-the-powershell-gallery","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/powershell\/updated-dsc-resource-kit-available-in-the-powershell-gallery\/","title":{"rendered":"Updated DSC Resource Kit available in the PowerShell Gallery"},"content":{"rendered":"<p>We&rsquo;ve been focusing on improving the quality of <a href=\"https:\/\/github.com\/powershell\/dscresources\">DSC Resource Kit<\/a> during last few weeks and are glad to announce that all the fixes are now available in the newest versions of modules on the <a href=\"http:\/\/www.powershellgallery.com\">PowerShell Gallery<\/a>.<\/p>\n<p>We&rsquo;ve accepted 95 pull requests, fixed 29 issues and updated 20 modules! In addition to that, xWindowsUpdate module got a new resource &#8211; xMicrosoftUpdate &ndash; 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.<\/p>\n<p>We encourage you to install the newest versions from the <a href=\"http:\/\/www.powershellgallery.com\">PowerShell Gallery<\/a> and start playing with them! <strong><\/strong><\/p>\n<p><strong><\/strong>&nbsp;<\/p>\n<p><strong>Where can I find all released DSC modules?<\/strong><\/p>\n<p>To see a list of all released DSC Resource Kit modules, go to the <a href=\"http:\/\/www.powershellgallery.com\">PowerShell Gallery<\/a> and display <a href=\"http:\/\/www.powershellgallery.com\/packages?q=Tags%3A%22DSCResourceKit%22\">all modules tagged as DSCResourceKit<\/a>. You can also type a module&rsquo;s name in the search box on the upper right side of the PowerShell Gallery to find specific module.<\/p>\n<p>Another way is to go directly to a specific module by typing it&rsquo;s URL:<\/p>\n<p><a href=\"http:\/\/www.powershellgallery.com\/packages\/%3cModule_Name\">http:\/\/www.powershellgallery.com\/packages\/&lt;Module_Name<\/a>&gt;<\/p>\n<p>e.g.:<\/p>\n<p><a href=\"http:\/\/www.powershellgallery.com\/packages\/xWebAdministration\">http:\/\/www.powershellgallery.com\/packages\/xWebAdministration<\/a><\/p>\n<p>Of course, you can always use PowerShellGet (available in&nbsp;<a href=\"https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=48729\">WMF 5.0<\/a>) as well:<\/p>\n<p><span style=\"color: #ffffff;font-family: courier new,courier;background-color: #000080\">Find-DscResource<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong>How can I install DSC resources from the PowerShell Gallery?<\/strong><\/p>\n<p>We recommend that you use PowerShellGet to install DSC resource modules:<\/p>\n<p><span style=\"color: #ffffff;font-family: courier new,courier;background-color: #000080\">Install-Module &ndash;Name &lt;Module_Name&gt;<\/span><\/p>\n<p>e.g.<\/p>\n<p><span style=\"color: #ffffff;font-family: courier new,courier;background-color: #000080\">Install-Module &ndash;Name xWebAdministration<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>If you have previous versions of modules installed, you can update them by calling (from an elevated PowerShell prompt):<\/p>\n<p><span style=\"color: #ffffff;font-family: courier new,courier;background-color: #000080\">Update-Module<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>If there is an issue you are particularly concerned about, watch the version number in the PowerShell Gallery for updates to that particular resource.&nbsp;You can also file an Issue against the module <a href=\"https:\/\/github.com\/powershell\/\">on GitHub<\/a> to help get it fixed.<\/p>\n<p>After installing the modules, you can discover all of the resources available to your local system by running:<\/p>\n<p><span style=\"color: #ffffff;font-family: courier new,courier;background-color: #000080\">Get-DscResource<\/span><\/p>\n<p>As with the previous Resource Kits, all the resources are experimental. The &ldquo;x&rdquo; prefix in the names stands for experimental &ndash; which means these resources are provided AS IS and are not supported through any Microsoft support program or service.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>How can I find DSC modules on GitHub?<\/strong><\/p>\n<p>As we <a href=\"http:\/\/blogs.msdn.com\/b\/powershell\/archive\/2015\/04\/27\/dsc-resource-kit-moved-to-github.aspxhttp:\/blogs.msdn.com\/b\/powershell\/archive\/2015\/04\/27\/dsc-resource-kit-moved-to-github.aspx\">mentioned<\/a>&nbsp;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 <a href=\"https:\/\/github.com\/PowerShell\/%3cModule_Name\">https:\/\/github.com\/PowerShell\/&lt;Module_Name<\/a>&gt;, e.g. for xCertificate module, go to: <a href=\"https:\/\/github.com\/PowerShell\/xCertificate\">https:\/\/github.com\/PowerShell\/xCertificate<\/a>.<\/p>\n<p>All DSC modules are also listed as submodules of the <a href=\"https:\/\/github.com\/PowerShell\/DscResources\/\">DscResources repository<\/a>, so that you can see them in one place (click the <a href=\"https:\/\/github.com\/PowerShell\/DscResources\/tree\/master\/xDscResources\">xDscResources<\/a>&nbsp;folder).<\/p>\n<p>&nbsp;<\/p>\n<p><strong>How can I contribute?<\/strong><\/p>\n<p>We welcome contributors who want to add to the development of DSC resource modules, there&rsquo;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 <a href=\"https:\/\/github.com\/PowerShell\/DscResources\/blob\/master\/CONTRIBUTING.md\">contributing guide<\/a>.<\/p>\n<p>If you are not sure what can you do, but would like to help anyway, please take a look at list of <a href=\"https:\/\/github.com\/PowerShell\/DscResources\/issues\">open issues<\/a> for DscResources repository. You can also check issues opened for specific modules by going to <a href=\"https:\/\/github.com\/PowerShell\/%3cModule_Name%3e\/issues\">https:\/\/github.com\/PowerShell\/&lt;Module_Name&gt;\/issues<\/a>&nbsp;, e.g. <a href=\"https:\/\/github.com\/PowerShell\/xPSDesiredStateConfiguration\/issues\">https:\/\/github.com\/PowerShell\/xPSDesiredStateConfiguration\/issues<\/a>.<\/p>\n<p>Your help in developing DSC resources is much appreciated!<\/p>\n<p><strong>&nbsp;<\/strong><\/p>\n<p><strong>What has been recently released?<\/strong><\/p>\n<p>You can see a detailed summary of all recent changes in the table below.<\/p>\n<p>If you want to see a change log for previous versions, go to the GitHub repository page for a given module (see section &ldquo;How can I find DSC modules on GitHub?&rdquo; for details).<strong><\/strong><\/p>\n<p>&nbsp;<\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"162\">\n<p><strong>Module name<\/strong><\/p>\n<\/td>\n<td valign=\"top\" width=\"84\">\n<p><strong>Version<\/strong><\/p>\n<\/td>\n<td valign=\"top\" width=\"378\">\n<p><strong>Description<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"162\">\n<p>xActiveDirectory<\/p>\n<\/td>\n<td valign=\"top\" width=\"84\">\n<p>2.6.0.0<\/p>\n<\/td>\n<td valign=\"top\" width=\"378\">\n<ul>\n<li>Removed xDscResourceDesigner tests (moved to<br \/>&nbsp; common tests)<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"162\">\n<p>xAzure<\/p>\n<\/td>\n<td valign=\"top\" width=\"84\">\n<p>0.2.0.0<\/p>\n<\/td>\n<td valign=\"top\" width=\"378\">\n<ul>\n<li>Fixed encoding<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"162\">\n<p>xDatabase<\/p>\n<\/td>\n<td valign=\"top\" width=\"84\">\n<p>1.3.0.0<\/p>\n<\/td>\n<td valign=\"top\" width=\"378\">\n<ul>\n<li>Fixed mandatory attributes in schema<\/li>\n<li>Removed parameter DefaultDatabaseName<\/li>\n<li>Aligned *.schema.mof with *.psm1 files<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"162\">\n<p>xDefender<\/p>\n<\/td>\n<td valign=\"top\" width=\"84\">\n<p>0.2.0.0<\/p>\n<\/td>\n<td valign=\"top\" width=\"378\">\n<ul>\n<li>Integrated AppVeyor changes<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"162\">\n<p>xDnsServer<\/p>\n<\/td>\n<td valign=\"top\" width=\"84\">\n<p>1.2.0.0<\/p>\n<\/td>\n<td valign=\"top\" width=\"378\">\n<ul>\n<li>Removed UTF8 BOM from MOF schema<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"162\">\n<p>xExchange<\/p>\n<\/td>\n<td valign=\"top\" width=\"84\">\n<p>1.3.0.0<\/p>\n<\/td>\n<td valign=\"top\" width=\"378\">\n<ul>\n<li>MSFT_xExchWaitForADPrep: Removed obsolete VerbosePreference parameter from Test-TargetResource<\/li>\n<li>&nbsp;Fixed encoding<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"162\">\n<p>xHyper-V<\/p>\n<\/td>\n<td valign=\"top\" width=\"84\">\n<p>3.2.0.0<\/p>\n<\/td>\n<td valign=\"top\" width=\"378\">\n<ul>\n<li>Added data type System.String to CheckSum parameter of Get\/Set\/Test-TargetResource functions and aligned indentation.<\/li>\n<li>Minor fixes<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"162\">\n<p>xMySql<\/p>\n<\/td>\n<td valign=\"top\" width=\"84\">\n<p>1.1.0.0<\/p>\n<\/td>\n<td valign=\"top\" width=\"378\">\n<ul>\n<li>Resolved attribute between *.psm1 and *.schema.mof files.<\/li>\n<li>Fixed encoding<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"162\">\n<p>xNetworking<\/p>\n<\/td>\n<td valign=\"top\" width=\"84\">\n<p>2.3.0.0<\/p>\n<\/td>\n<td valign=\"top\" width=\"378\">\n<ul>\n<li>MSFT_xDNSServerAddress: Added support for<br \/>&nbsp; setting DNS for both IPv4 and IPv6 on the same Interface<\/li>\n<li>MSFT_xDNSServerAddress: AddressFamily<br \/>&nbsp; parameter has been changed to mandatory.<\/li>\n<li>Removed xDscResourceDesigner tests (moved to<br \/>&nbsp; common tests)<\/li>\n<li>Fixed Test-TargetResource to test against all<br \/>&nbsp; provided parameters<\/li>\n<li>Modified tests to not copy file to Program<br \/>&nbsp; Files<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"162\">\n<p>xPSDesiredStateConfiguration<\/p>\n<\/td>\n<td valign=\"top\" width=\"84\">\n<p>3.5.0.0<\/p>\n<\/td>\n<td valign=\"top\" width=\"378\">\n<ul>\n<li>MSFT_xPackageResource: Added ValidateSet to<br \/>&nbsp; Get\/Set\/Test-TargetResource to match MSFT_xPackageResource.schema.mof<\/li>\n<li>Added StartupTimeout to xService resource<\/li>\n<li>Removed UTF8 BOM<\/li>\n<li>Fixed bug causing xService to throw error when<br \/>&nbsp; service already exists<\/li>\n<li>Added code for pull server removal<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"162\">\n<p>xRemoteDesktopAdmin<\/p>\n<\/td>\n<td valign=\"top\" width=\"84\">\n<p>1.1.0.0<\/p>\n<\/td>\n<td valign=\"top\" width=\"378\">\n<ul>\n<li>Updated OutputType to System.Boolean for<br \/>&nbsp; Test-TargetResource and removed for Set-TargetResource.<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"162\">\n<p>xRemoteDesktopSessionHost<\/p>\n<\/td>\n<td valign=\"top\" width=\"84\">\n<p>1.1.0.0<\/p>\n<\/td>\n<td valign=\"top\" width=\"378\">\n<ul>\n<li>Fixed encoding<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"162\">\n<p>xSharepoint<\/p>\n<\/td>\n<td valign=\"top\" width=\"84\">\n<p>0.5.0.0<\/p>\n<\/td>\n<td valign=\"top\" width=\"378\">\n<ul>\n<li>Fixed bug with detection of version in create<br \/>&nbsp; farm<\/li>\n<li>Minor fixes<\/li>\n<li>Added support for SharePoint 2016 installation<\/li>\n<li>MSFT_xSPCreateFarm: Added<br \/>&nbsp; CentraladministrationPort parameter<\/li>\n<li>Fixed issue with PowerShell session timeouts<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"162\">\n<p>xStorage<\/p>\n<\/td>\n<td valign=\"top\" width=\"84\">\n<p>2.1.0.0<\/p>\n<\/td>\n<td valign=\"top\" width=\"378\">\n<ul>\n<li>Fixed encoding<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"162\">\n<p>xSystemSecurity<\/p>\n<\/td>\n<td valign=\"top\" width=\"84\">\n<p>1.1.0.0<\/p>\n<\/td>\n<td valign=\"top\" width=\"378\">\n<ul>\n<li>Fixed encoding<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"162\">\n<p>xTimeZone<\/p>\n<\/td>\n<td valign=\"top\" width=\"84\">\n<p>1.3.0.0<\/p>\n<\/td>\n<td valign=\"top\" width=\"378\">\n<ul>\n<li>Updated tests: now we are deploying xTimeZone<br \/>&nbsp; instead of overwriting PSModulePath to make tests pass on local machine<\/li>\n<li>Updated validation attribute of<br \/>&nbsp; IsSingleInstance parameter to match *.schema.mof<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"162\">\n<p>xWindowsUpdate<\/p>\n<\/td>\n<td valign=\"top\" width=\"84\">\n<p>2.2.0.0<\/p>\n<\/td>\n<td valign=\"top\" width=\"378\">\n<ul>\n<li>Added xMicrosoftUpdate resource to enable or<br \/>&nbsp; disable Microsoft Update<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"162\">\n<p>xWinEventLog<\/p>\n<\/td>\n<td valign=\"top\" width=\"84\">\n<p>1.1.0.0<\/p>\n<\/td>\n<td valign=\"top\" width=\"378\">\n<ul>\n<li>MSFT_xWinEventLog: Added LogFilePath parameter<\/li>\n<li>Fixed tests<\/li>\n<li>Fixed encoding<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"162\">\n<p>xWordPress<\/p>\n<\/td>\n<td valign=\"top\" width=\"84\">\n<p>1.1.0.0<\/p>\n<\/td>\n<td valign=\"top\" width=\"378\">\n<ul>\n<li>Updated schema (ValueMap)<\/li>\n<li>Fixed encoding<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p><strong>Questions, comments?<\/strong><\/p>\n<p>If you&#8217;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 <a href=\"https:\/\/github.com\/powershell\/dscresources\/issues\">GitHub<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<p>Karol Kaczmarek&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/p>\n<p>PowerShell Team<\/p>\n<p><strong><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&rsquo;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&rsquo;ve accepted 95 pull requests, fixed 29 issues and updated 20 modules! In addition to that, xWindowsUpdate module [&hellip;]<\/p>\n","protected":false},"author":607,"featured_media":13641,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[142,150,152,217,248,348],"class_list":["post-11201","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-powershell","tag-desired-state-configuration","tag-dsc","tag-dsc-resource-kit","tag-modules","tag-powershell","tag-windows-powershell-desired-state-configuration"],"acf":[],"blog_post_summary":"<p>We&rsquo;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&rsquo;ve accepted 95 pull requests, fixed 29 issues and updated 20 modules! In addition to that, xWindowsUpdate module [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/11201","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/users\/607"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/comments?post=11201"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/11201\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/media\/13641"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/media?parent=11201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/categories?post=11201"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/tags?post=11201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}