{"id":1621,"date":"2014-07-17T20:23:00","date_gmt":"2014-07-17T20:23:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/powershell\/2014\/07\/17\/powershell-dsc-resource-kit-wave-5-arrives\/"},"modified":"2019-02-18T13:05:17","modified_gmt":"2019-02-18T20:05:17","slug":"powershell-dsc-resource-kit-wave-5-arrives","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/powershell\/powershell-dsc-resource-kit-wave-5-arrives\/","title":{"rendered":"PowerShell DSC Resource Kit Wave 5 Arrives"},"content":{"rendered":"<p><span style=\"font-size: small\">The PowerShell DSC Resource Kit Wave 5 is now available for your use. This wave contains 10 new DSC resources, taking us up to 77 total resources between the Resource Kits and what is shipping in Windows 8.1\/Server 2012 R2. In response to a number of requests, DSC Reskit Wave 5 also includes an end-to-end example, with a configuration for WordPress deployments. <\/span><\/p>\n<p><span style=\"font-size: small\">Here&rsquo;s a link to the <a href=\"http:\/\/gallery.technet.microsoft.com\/site\/search?f%5B0%5D.Type=Tag&amp;f%5B0%5D.Value=DSC%20Resource%20Kit%20Wave-5&amp;f%5B0%5D.Text=DSC%20Resource%20Kit%20Wave-5\">updates in DSC Resource Kit Wave 5<\/a>.&nbsp; You can also find them by using <a href=\"http:\/\/blogs.msdn.com\/b\/powershell\/archive\/2014\/05\/14\/windows-management-framework-5-0-preview-may-2014-is-now-available.aspx\">PowerShellGet<\/a>.<\/span><\/p>\n<p><span style=\"font-size: small\">In addition to the new resources and the example configurations, we have also made some updates to existing resources based on feedback we have received. As a result, we have updated several of the modules, all of which will show up using the link above.<\/span><\/p>\n<p><span style=\"font-size: small\"><strong>Questions, Comments?<\/strong><\/span><\/p>\n<p><span style=\"font-size: small\">If you&#8217;re looking into using PowerShell DSC, but are blocked by a lack of particular resource provider, let us know in the comments or the TechNet QA Section.<\/span><\/p>\n<p><span style=\"font-size: small\"><strong>What&#8217;s in this Wave?<\/strong><\/span><\/p>\n<p><span style=\"font-size: small\">This wave has added the following<\/span><\/p>\n<ul>\n<li><span style=\"font-size: small\"><strong>xWordPress<\/strong>: This module contains two resources, <strong>xIISWordPressSite<\/strong> and <strong>xWordPressSite<\/strong>, as well as example&nbsp;configurations under Samples, which show end-to-end deployment of the&nbsp;common WordPress site.<\/span><\/li>\n<li><span style=\"font-size: small\"><strong>xPhp<\/strong>: This DSC Resource allows you to Setup PHP in IIS. This is used in the xWordPress examples.<\/span><\/li>\n<li><span style=\"font-size: small\"><strong>xMySql<\/strong>: This module includes 5 resources that allow you to Setup a MySQL Server, Database, User, and create a Grant for the user. This is used in the WordPress examples.<\/span><\/li>\n<li><span style=\"font-size: small\"><strong>xPsDesiredStateConfiguration<\/strong> now includes <strong>xWindowsOptionalFeature<\/strong>. This resource allows configuring Windows Optional Features for Windows client SKUs.<\/span><\/li>\n<li><span style=\"font-size: small\"><strong>xWebAdministration<\/strong> has added xIisModule, which enables registration of modules (such as FastCgiModules) with IIS.<\/span><\/li>\n<li><span style=\"font-size: small\"><strong>xWindowsUpdate<\/strong>: This module actually went live just after Wave 4, so it missed the announcement of the Reskit. It contains the xHotfix resource, which handles installation of&nbsp; a Windows update (or a hotfix) from a given path (file path or a URI).<\/span><\/li>\n<\/ul>\n<p><span style=\"font-size: small\">As always, we must reiterate that these resources come without any guarantees.&nbsp; The &ldquo;x&rdquo; prefix stands for experimental &ndash; which means these resources are provided AS IS and are not supported through any Microsoft support program or service. We will<\/span><br \/><span style=\"font-size: small\">monitor the TechNet pages, take feedback, and <em>may<\/em> provide fixes moving forward.&nbsp; Also, don&rsquo;t forget to check out the community versions of many resources on <a href=\"https:\/\/github.com\/powershell\/\">PowerShell.Org&#8217;s GitHub<\/a>.<\/span><\/p>\n<p><span style=\"font-size: small\"><strong>Details<\/strong><\/span><\/p>\n<p><span style=\"font-size: small\">After installing the modules, you can discover all of the resources available by using the Get-DSCResource cmdlet.&nbsp; Here is a brief description of each resource (for more details on a resource, check out the TechNet pages).&nbsp;<\/span><\/p>\n<table style=\"width: 719px\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"196\">\n<p><span style=\"font-size: small\"><strong>Module<\/strong><\/span><\/p>\n<\/td>\n<td valign=\"top\" width=\"239\">\n<p><span style=\"font-size: small\"><strong>Resource(s)&nbsp;<\/strong><\/span><\/p>\n<\/td>\n<td valign=\"top\" width=\"284\">\n<p><span style=\"font-size: small\"><strong>Description&nbsp;<\/strong><\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\" valign=\"top\" width=\"196\">\n<p><span style=\"font-size: small\">xWordPress<\/span><\/p>\n<\/td>\n<td valign=\"top\" width=\"239\">\n<p><span style=\"font-size: small\">xIisWordPressSite<\/span><\/p>\n<\/td>\n<td valign=\"top\" width=\"284\">\n<p><span style=\"font-size: small\">This DSC Composite Configuration allows you to configure&nbsp;an IIS site to run WordPress and set the contents of the WordPress&nbsp;&nbsp; configuration file.<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"239\">\n<p><span style=\"font-size: small\">xWordPressSite<\/span><\/p>\n<\/td>\n<td valign=\"top\" width=\"284\">\n<p><span style=\"font-size: small\">This DSC Resource allows you to configure a&nbsp;WordPress&nbsp;Site<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"196\">\n<p><span style=\"font-size: small\">xPhp<\/span><\/p>\n<\/td>\n<td valign=\"top\" width=\"239\">\n<p><span style=\"font-size: small\">xPhp<\/span><\/p>\n<\/td>\n<td valign=\"top\" width=\"284\">\n<p><span style=\"font-size: small\">This DSC&nbsp;Resource allows you to Setup PHP in IIS. This is used in the xWordPress &nbsp;examples.<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"5\" valign=\"top\" width=\"196\">\n<p><span style=\"font-size: small\">xMySql<\/span><\/p>\n<\/td>\n<td valign=\"top\" width=\"239\">\n<p><span style=\"font-size: small\">xMySqlServer <\/span><\/p>\n<\/td>\n<td valign=\"top\" width=\"284\">\n<p><span style=\"font-size: small\">DSC Resource allows you to configure a MySQL server<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"239\">\n<p><span style=\"font-size: small\">xMySqlDatabase<\/span><\/p>\n<\/td>\n<td valign=\"top\" width=\"284\">\n<p><span style=\"font-size: small\">This DSC Resource allows you to configure a&nbsp;MySql Database.<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"239\">\n<p><span style=\"font-size: small\">xMySqlUser<\/span><\/p>\n<\/td>\n<td valign=\"top\" width=\"284\">\n<p><span style=\"font-size: small\">This DSC Resource allows you to configure a&nbsp;MySql User.<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"239\">\n<p><span style=\"font-size: small\">xMySqlGrant<\/span><\/p>\n<\/td>\n<td valign=\"top\" width=\"284\">\n<p><span style=\"font-size: small\">This DSC Resource allows you to configure a&nbsp;MySql Grant (permissions).<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"239\">\n<p><span style=\"font-size: small\">xMySqlProvison<\/span><\/p>\n<\/td>\n<td valign=\"top\" width=\"284\">\n<p><span style=\"font-size: small\">This DSC Resource allows&nbsp; you to configure a&nbsp;MySql Server, with a database, and a user, and grant to that database for that user.<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"196\">\n<p><span style=\"font-size: small\">xPsDesiredStateConfiguration<\/span><\/p>\n<\/td>\n<td valign=\"top\" width=\"239\">\n<p><span style=\"font-size: small\">xWindowsOptionalFeature<\/span><\/p>\n<\/td>\n<td valign=\"top\" width=\"284\">\n<p><span style=\"font-size: small\">This resource allows configuring Windows Optional Features for Windows client SKUs<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"196\">\n<p><span style=\"font-size: small\">xWebAdministration<\/span><\/p>\n<\/td>\n<td valign=\"top\" width=\"239\">\n<p><span style=\"font-size: small\">xIisModule<\/span><\/p>\n<\/td>\n<td valign=\"top\" width=\"284\">\n<p><span style=\"font-size: small\">This enables registration of modules (such as FastCgiModules) with IIS<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"196\">\n<p><span style=\"font-size: small\">xWindowsUpdate<\/span><\/p>\n<\/td>\n<td valign=\"top\" width=\"239\">\n<p><span style=\"font-size: small\">xHotfix<\/span><\/p>\n<\/td>\n<td valign=\"top\" width=\"284\">\n<p><span style=\"font-size: small\">Handles&nbsp; installation of&nbsp; a Windows update (or a hotfix) from a given path (file path or a URI)<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"196\">\n<p><span style=\"font-size: small\"><strong>Updates<\/strong><strong><\/strong><\/span><\/p>\n<\/td>\n<td valign=\"top\" width=\"239\">\n<p><span style=\"font-size: small\">xSqlPs<\/span><\/p>\n<p><span style=\"font-size: small\">xDscResourceDesigner<\/span><\/p>\n<p><span style=\"font-size: small\">xDhcpServer<\/span><\/p>\n<p><span style=\"font-size: small\">xAzure<\/span><\/p>\n<\/td>\n<td valign=\"top\" width=\"284\">\n<p><span style=\"font-size: small\">Minor updates &amp; bug fixes have been made for these.<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: small\"><strong>Renaming Guidelines<\/strong><\/span><\/p>\n<p><span style=\"font-size: small\">When making changes to these resources, we urge the following practice:<\/span><\/p>\n<ol>\n<li><span style=\"font-size: small\">Update the following names by replacing MSFT with your company\/community name and replacing the &ldquo;x&rdquo; with &#8220;c&#8221; (short for &#8220;Community&#8221;) or another prefix of your choice:<\/span><\/li>\n<ol>\n<li><span style=\"font-size: small\">Module name (ex: xWebAdministration becomes cWebAdministration)<\/span><\/li>\n<li><span style=\"font-size: small\">Folder name (ex: MSFT_xWebsite becomes Contoso_cWebsite)<\/span><\/li>\n<li><span style=\"font-size: small\">Resource Name (ex: MSFT_xWebsite becomes Contoso_cWebsite)<\/span><\/li>\n<li><span style=\"font-size: small\">Resource Friendly Name (ex: xWebsite becomes cWebsite)<\/span><\/li>\n<li><span style=\"font-size: small\">MOF class name (ex: MSFT_xWebsite becomes Contoso_cWebsite)<\/span><\/li>\n<li><span style=\"font-size: small\">Filename for the &lt;resource&gt;.schema.mof (ex: MSFT_xWebsite.schema.mof becomes Contoso_cWebsite.schema.mof)<\/span><\/li>\n<\/ol>\n<li><span style=\"font-size: small\">Update module and metadata information in the module manifest<\/span><\/li>\n<li><span style=\"font-size: small\">Update any configuration that use these resources<\/span><\/li>\n<\/ol>\n<p><span style=\"font-size: small\"><em>We reserve resource and module names without prefixes (&#8220;x&#8221; or &#8220;c&#8221;) for future use (e.g. &#8220;MSFT_WebAdministration&#8221; or &#8220;Website&#8221;).&nbsp; If the next version of Windows Server ships with a &#8220;Website&#8221; resource, we don&#8217;t want to break any configurations that use any community modifications.&nbsp; Please keep a prefix such as &#8220;c&#8221; on all community modifications. <\/em><\/span><\/p>\n<p><span style=\"font-size: small\"><em>As specified in the license, you may copy or modify this resource as long as they are used on the Windows Platform. <\/em><\/span><\/p>\n<p><span style=\"font-size: small\">&nbsp;<strong>Requirements<\/strong><\/span><\/p>\n<p><span style=\"font-size: small\">Note:<\/span><\/p>\n<ul>\n<li><span style=\"font-size: small\">The xJEA (Just Enough Admin) module requires the use of the <a href=\"http:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=42936\">Windows Management Framework (WMF) 5.0 preview <\/a>, which only works with Windows 8.1 or Windows Server 2012 R2. <\/span><\/li>\n<li><span style=\"font-size: small\">The xMySQL and xWordPress modules require Windows 8.1 or Windows Server 2012 R2 and an&nbsp; update to the Windows Management Framework, which is linked to from each of the blog topics. &nbsp;<\/span><\/li>\n<\/ul>\n<p><span style=\"font-size: small\">The other components of the DSC Resource Kit requires at least Windows 8.1 or Windows Server 2012 R2 with update <a href=\"http:\/\/support.microsoft.com\/kb\/2883200\">KB2883200<\/a> (aka the GA Update Rollup). You can check whether it is installed by running the following command:<\/span><\/p>\n<p><span style=\"font-size: small\">For most modules, you can use them on supported downlevel versions of Windows by installing WMF 4.0. Refer to these previous blog posts for more information on <a href=\"http:\/\/blogs.msdn.com\/b\/powershell\/archive\/2013\/10\/25\/windows-management-framework-4-0-is-now-available.aspx\">WMF 4.0<\/a> and <a href=\"http:\/\/blogs.msdn.com\/b\/powershell\/archive\/2013\/10\/29\/wmf-4-0-known-issue-partial-installation-without-net-framework-4-5.aspx\">issues with partial installation<\/a>. You can confirm the requirements for each module on the <\/span><span style=\"font-size: small\">individual blog topics that provide the details for the module.<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The PowerShell DSC Resource Kit Wave 5 is now available for your use. This wave contains 10 new DSC resources, taking us up to 77 total resources between the Resource Kits and what is shipping in Windows 8.1\/Server 2012 R2. In response to a number of requests, DSC Reskit Wave 5 also includes an end-to-end [&hellip;]<\/p>\n","protected":false},"author":600,"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,258,266,348],"class_list":["post-1621","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-powershell","tag-desired-state-configuration","tag-dsc","tag-dsc-resource-kit","tag-powershell-desired-state-configuration","tag-powershell-release","tag-windows-powershell-desired-state-configuration"],"acf":[],"blog_post_summary":"<p>The PowerShell DSC Resource Kit Wave 5 is now available for your use. This wave contains 10 new DSC resources, taking us up to 77 total resources between the Resource Kits and what is shipping in Windows 8.1\/Server 2012 R2. In response to a number of requests, DSC Reskit Wave 5 also includes an end-to-end [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/1621","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\/600"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/comments?post=1621"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/1621\/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=1621"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/categories?post=1621"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/tags?post=1621"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}